aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/aic7xxx/aic79xx.h4
-rw-r--r--drivers/scsi/aic7xxx/aic79xx_osm.h5
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx.h2
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_osm.h5
-rw-r--r--drivers/scsi/aic7xxx/queue.h2
5 files changed, 4 insertions, 14 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx.h b/drivers/scsi/aic7xxx/aic79xx.h
index df2e0e5367d2..d47b527b25dd 100644
--- a/drivers/scsi/aic7xxx/aic79xx.h
+++ b/drivers/scsi/aic7xxx/aic79xx.h
@@ -624,7 +624,7 @@ struct scb {
624}; 624};
625 625
626TAILQ_HEAD(scb_tailq, scb); 626TAILQ_HEAD(scb_tailq, scb);
627LIST_HEAD(scb_list, scb); 627BSD_LIST_HEAD(scb_list, scb);
628 628
629struct scb_data { 629struct scb_data {
630 /* 630 /*
@@ -1069,7 +1069,7 @@ struct ahd_softc {
1069 /* 1069 /*
1070 * SCBs that have been sent to the controller 1070 * SCBs that have been sent to the controller
1071 */ 1071 */
1072 LIST_HEAD(, scb) pending_scbs; 1072 BSD_LIST_HEAD(, scb) pending_scbs;
1073 1073
1074 /* 1074 /*
1075 * Current register window mode information. 1075 * Current register window mode information.
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.h b/drivers/scsi/aic7xxx/aic79xx_osm.h
index c58fa33c6592..728193a42e6e 100644
--- a/drivers/scsi/aic7xxx/aic79xx_osm.h
+++ b/drivers/scsi/aic7xxx/aic79xx_osm.h
@@ -65,11 +65,6 @@
65/* Core SCSI definitions */ 65/* Core SCSI definitions */
66#define AIC_LIB_PREFIX ahd 66#define AIC_LIB_PREFIX ahd
67 67
68/* Name space conflict with BSD queue macros */
69#ifdef LIST_HEAD
70#undef LIST_HEAD
71#endif
72
73#include "cam.h" 68#include "cam.h"
74#include "queue.h" 69#include "queue.h"
75#include "scsi_message.h" 70#include "scsi_message.h"
diff --git a/drivers/scsi/aic7xxx/aic7xxx.h b/drivers/scsi/aic7xxx/aic7xxx.h
index f695774645c1..4ce4e903a759 100644
--- a/drivers/scsi/aic7xxx/aic7xxx.h
+++ b/drivers/scsi/aic7xxx/aic7xxx.h
@@ -916,7 +916,7 @@ struct ahc_softc {
916 /* 916 /*
917 * SCBs that have been sent to the controller 917 * SCBs that have been sent to the controller
918 */ 918 */
919 LIST_HEAD(, scb) pending_scbs; 919 BSD_LIST_HEAD(, scb) pending_scbs;
920 920
921 /* 921 /*
922 * Counting lock for deferring the release of additional 922 * Counting lock for deferring the release of additional
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.h b/drivers/scsi/aic7xxx/aic7xxx_osm.h
index bc4cca92ff04..54c702864103 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_osm.h
+++ b/drivers/scsi/aic7xxx/aic7xxx_osm.h
@@ -82,11 +82,6 @@
82/* Core SCSI definitions */ 82/* Core SCSI definitions */
83#define AIC_LIB_PREFIX ahc 83#define AIC_LIB_PREFIX ahc
84 84
85/* Name space conflict with BSD queue macros */
86#ifdef LIST_HEAD
87#undef LIST_HEAD
88#endif
89
90#include "cam.h" 85#include "cam.h"
91#include "queue.h" 86#include "queue.h"
92#include "scsi_message.h" 87#include "scsi_message.h"
diff --git a/drivers/scsi/aic7xxx/queue.h b/drivers/scsi/aic7xxx/queue.h
index 8adf8003a164..ba602981f193 100644
--- a/drivers/scsi/aic7xxx/queue.h
+++ b/drivers/scsi/aic7xxx/queue.h
@@ -246,7 +246,7 @@ struct { \
246/* 246/*
247 * List declarations. 247 * List declarations.
248 */ 248 */
249#define LIST_HEAD(name, type) \ 249#define BSD_LIST_HEAD(name, type) \
250struct name { \ 250struct name { \
251 struct type *lh_first; /* first element */ \ 251 struct type *lh_first; /* first element */ \
252} 252}