aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-06-10 18:26:00 -0400
committerJames Bottomley <jejb@titanic.(none)>2005-06-11 19:38:21 -0400
commit765c4d45b8cae32faff358aa760a33cde38ea1a7 (patch)
tree4662b577ae8f31161fefc97411cc185451c63e2e
parent0bb14afe10dddbc05c3244bd224b6858de0ee319 (diff)
[SCSI] aic7xxx/aic79xx: remove useless byte order macro cruft
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r--drivers/scsi/aic7xxx/aic79xx_osm.h17
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_osm.h17
2 files changed, 0 insertions, 34 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.h b/drivers/scsi/aic7xxx/aic79xx_osm.h
index 605f92b6c5ca..7823e52e99ab 100644
--- a/drivers/scsi/aic7xxx/aic79xx_osm.h
+++ b/drivers/scsi/aic7xxx/aic79xx_osm.h
@@ -112,23 +112,6 @@ typedef Scsi_Cmnd *ahd_io_ctx_t;
112#define ahd_le32toh(x) le32_to_cpu(x) 112#define ahd_le32toh(x) le32_to_cpu(x)
113#define ahd_le64toh(x) le64_to_cpu(x) 113#define ahd_le64toh(x) le64_to_cpu(x)
114 114
115#ifndef LITTLE_ENDIAN
116#define LITTLE_ENDIAN 1234
117#endif
118
119#ifndef BIG_ENDIAN
120#define BIG_ENDIAN 4321
121#endif
122
123#ifndef BYTE_ORDER
124#if defined(__BIG_ENDIAN)
125#define BYTE_ORDER BIG_ENDIAN
126#endif
127#if defined(__LITTLE_ENDIAN)
128#define BYTE_ORDER LITTLE_ENDIAN
129#endif
130#endif /* BYTE_ORDER */
131
132/************************* Configuration Data *********************************/ 115/************************* Configuration Data *********************************/
133extern uint32_t aic79xx_allow_memio; 116extern uint32_t aic79xx_allow_memio;
134extern int aic79xx_detect_complete; 117extern int aic79xx_detect_complete;
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.h b/drivers/scsi/aic7xxx/aic7xxx_osm.h
index b135c8c787bb..46c3a796e6b1 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_osm.h
+++ b/drivers/scsi/aic7xxx/aic7xxx_osm.h
@@ -129,23 +129,6 @@ typedef struct scsi_cmnd *ahc_io_ctx_t;
129#define ahc_le32toh(x) le32_to_cpu(x) 129#define ahc_le32toh(x) le32_to_cpu(x)
130#define ahc_le64toh(x) le64_to_cpu(x) 130#define ahc_le64toh(x) le64_to_cpu(x)
131 131
132#ifndef LITTLE_ENDIAN
133#define LITTLE_ENDIAN 1234
134#endif
135
136#ifndef BIG_ENDIAN
137#define BIG_ENDIAN 4321
138#endif
139
140#ifndef BYTE_ORDER
141#if defined(__BIG_ENDIAN)
142#define BYTE_ORDER BIG_ENDIAN
143#endif
144#if defined(__LITTLE_ENDIAN)
145#define BYTE_ORDER LITTLE_ENDIAN
146#endif
147#endif /* BYTE_ORDER */
148
149/************************* Configuration Data *********************************/ 132/************************* Configuration Data *********************************/
150extern u_int aic7xxx_no_probe; 133extern u_int aic7xxx_no_probe;
151extern u_int aic7xxx_allow_memio; 134extern u_int aic7xxx_allow_memio;