summaryrefslogtreecommitdiffstats
path: root/sys/dev/ahb
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
committerjake <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
commitd93fbc99166053b75c2eeb69b5cb603cfaf79ec0 (patch)
treea4f130be4544ce7cfe4afa8c93f996b871433cb8 /sys/dev/ahb
parente814d2a0db522b0f163eef55a56d05aa226951f3 (diff)
downloadFreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.zip
FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.tar.gz
Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
Diffstat (limited to 'sys/dev/ahb')
-rw-r--r--sys/dev/ahb/ahbreg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ahb/ahbreg.h b/sys/dev/ahb/ahbreg.h
index c72f068..1312748 100644
--- a/sys/dev/ahb/ahbreg.h
+++ b/sys/dev/ahb/ahbreg.h
@@ -251,7 +251,7 @@ struct ecb {
struct ecb_status status;
struct scsi_sense_data sense;
ahb_sg_t sg_list[AHB_NSEG];
- SLIST_ENTRY(ecb) links;
+ SLIST_ENTRY(struct ecb) links;
ecb_state state;
union ccb *ccb;
bus_dmamap_t dmamap;
@@ -262,8 +262,8 @@ struct ahb_softc {
bus_space_handle_t bsh;
struct cam_sim *sim;
struct cam_path *path;
- SLIST_HEAD(,ecb) free_ecbs;
- LIST_HEAD(,ccb_hdr) pending_ccbs;
+ SLIST_HEAD(, struct ecb) free_ecbs;
+ LIST_HEAD(, struct ccb_hdr) pending_ccbs;
struct ecb *ecb_array;
u_int32_t ecb_physbase;
bus_dma_tag_t buffer_dmat; /* dmat for buffer I/O */
OpenPOWER on IntegriCloud