summaryrefslogtreecommitdiffstats
path: root/sys/dev/advansys
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
committerjake <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
commit961b97d43458f3c57241940cabebb3bedf7e4c00 (patch)
tree6014972d9b90b4e3a8b20dbea641a88cf6355c13 /sys/dev/advansys
parent06b64672180d9b04ae6d35db819c854df3c3c684 (diff)
downloadFreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.zip
FreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.tar.gz
Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen. Requested by: msmith and others
Diffstat (limited to 'sys/dev/advansys')
-rw-r--r--sys/dev/advansys/advlib.h6
-rw-r--r--sys/dev/advansys/adwlib.h10
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/advansys/advlib.h b/sys/dev/advansys/advlib.h
index a8cd946..ba9703d 100644
--- a/sys/dev/advansys/advlib.h
+++ b/sys/dev/advansys/advlib.h
@@ -93,7 +93,7 @@ struct adv_ccb_info {
adv_ccb_state state;
bus_dmamap_t dmamap;
union ccb* ccb;
- SLIST_ENTRY(struct adv_ccb_info) links;
+ SLIST_ENTRY(adv_ccb_info) links;
};
#define ccb_cinfo_ptr spriv_ptr0
@@ -497,9 +497,9 @@ struct adv_softc {
bus_space_tag_t tag;
bus_space_handle_t bsh;
struct cam_sim *sim;
- LIST_HEAD(, struct ccb_hdr) pending_ccbs;
+ LIST_HEAD(, ccb_hdr) pending_ccbs;
struct adv_ccb_info *ccb_infos;
- SLIST_HEAD(, struct adv_ccb_info) free_ccb_infos;
+ SLIST_HEAD(, adv_ccb_info) free_ccb_infos;
bus_dma_tag_t parent_dmat;
bus_dma_tag_t buffer_dmat;
bus_dma_tag_t sense_dmat;
diff --git a/sys/dev/advansys/adwlib.h b/sys/dev/advansys/adwlib.h
index 7973dca..c470c10 100644
--- a/sys/dev/advansys/adwlib.h
+++ b/sys/dev/advansys/adwlib.h
@@ -324,7 +324,7 @@ struct sg_map_node {
bus_dmamap_t sg_dmamap;
bus_addr_t sg_physaddr;
struct adw_sg_block* sg_vaddr;
- SLIST_ENTRY(struct sg_map_node) links;
+ SLIST_ENTRY(sg_map_node) links;
};
typedef enum {
@@ -425,7 +425,7 @@ struct acb {
struct adw_sg_block* sg_blocks;
bus_addr_t sg_busaddr;
struct scsi_sense_data sense_data;
- SLIST_ENTRY(struct acb) links;
+ SLIST_ENTRY(acb) links;
};
/*
@@ -612,15 +612,15 @@ struct adw_softc
struct adw_carrier *free_carriers;
struct adw_carrier *commandq;
struct adw_carrier *responseq;
- LIST_HEAD(, struct ccb_hdr) pending_ccbs;
- SLIST_HEAD(, struct acb) free_acb_list;
+ LIST_HEAD(, ccb_hdr) pending_ccbs;
+ SLIST_HEAD(, acb) free_acb_list;
bus_dma_tag_t parent_dmat;
bus_dma_tag_t carrier_dmat; /* dmat for our acb carriers*/
bus_dmamap_t carrier_dmamap;
bus_dma_tag_t acb_dmat; /* dmat for our ccb array */
bus_dmamap_t acb_dmamap;
bus_dma_tag_t sg_dmat; /* dmat for our sg maps */
- SLIST_HEAD(, struct sg_map_node) sg_maps;
+ SLIST_HEAD(, sg_map_node) sg_maps;
bus_addr_t acb_busbase;
bus_addr_t carrier_busbase;
adw_chip chip;
OpenPOWER on IntegriCloud