diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
commit | 740a1973a62eaa8e1dc23e22f84dacb3346d303a (patch) | |
tree | acf054a865eef37380f5ac3d3c07766b5bb234b0 /sys/dev/ahb/ahbreg.h | |
parent | b4183771fd8ab7a5946fd38df04c1e24b1268bea (diff) |
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
Notes
Notes:
svn path=/head/; revision=60833
Diffstat (limited to 'sys/dev/ahb/ahbreg.h')
-rw-r--r-- | sys/dev/ahb/ahbreg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ahb/ahbreg.h b/sys/dev/ahb/ahbreg.h index c72f068aa3b9..13127482b97d 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 */ |