aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorandrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com>2006-03-09 17:27:13 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-12 10:38:03 -0500
commit044cc6c8ec311c4ddeebfcc31c53dea282de70b7 (patch)
tree891078bdbf9c8673d2408215c80551dc4a015f6d /drivers/scsi/qla2xxx/qla_def.h
parentea5b6382fde00e0dbcd0de2e4aa2fd15705e5fc3 (diff)
[SCSI] qla2xxx: Add ISP54xx support.
Chip is similar in form to our ISP24xx offering. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index 00b7e82b99b3..e1a7769008ee 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -2234,9 +2234,9 @@ typedef struct scsi_qla_host {
2234#define DT_ISP6322 BIT_6 2234#define DT_ISP6322 BIT_6
2235#define DT_ISP2422 BIT_7 2235#define DT_ISP2422 BIT_7
2236#define DT_ISP2432 BIT_8 2236#define DT_ISP2432 BIT_8
2237#define DT_ISP2512 BIT_9 2237#define DT_ISP5422 BIT_9
2238#define DT_ISP2522 BIT_10 2238#define DT_ISP5432 BIT_10
2239#define DT_ISP_LAST (DT_ISP2522 << 1) 2239#define DT_ISP_LAST (DT_ISP5432 << 1)
2240 2240
2241#define DT_OEM_001 BIT_29 2241#define DT_OEM_001 BIT_29
2242#define DT_ISP2200A BIT_30 2242#define DT_ISP2200A BIT_30
@@ -2252,13 +2252,13 @@ typedef struct scsi_qla_host {
2252#define IS_QLA6322(ha) (DT_MASK(ha) & DT_ISP6322) 2252#define IS_QLA6322(ha) (DT_MASK(ha) & DT_ISP6322)
2253#define IS_QLA2422(ha) (DT_MASK(ha) & DT_ISP2422) 2253#define IS_QLA2422(ha) (DT_MASK(ha) & DT_ISP2422)
2254#define IS_QLA2432(ha) (DT_MASK(ha) & DT_ISP2432) 2254#define IS_QLA2432(ha) (DT_MASK(ha) & DT_ISP2432)
2255#define IS_QLA2512(ha) (DT_MASK(ha) & DT_ISP2512) 2255#define IS_QLA5422(ha) (DT_MASK(ha) & DT_ISP5422)
2256#define IS_QLA2522(ha) (DT_MASK(ha) & DT_ISP2522) 2256#define IS_QLA5432(ha) (DT_MASK(ha) & DT_ISP5432)
2257 2257
2258#define IS_QLA23XX(ha) (IS_QLA2300(ha) || IS_QLA2312(ha) || IS_QLA2322(ha) || \ 2258#define IS_QLA23XX(ha) (IS_QLA2300(ha) || IS_QLA2312(ha) || IS_QLA2322(ha) || \
2259 IS_QLA6312(ha) || IS_QLA6322(ha)) 2259 IS_QLA6312(ha) || IS_QLA6322(ha))
2260#define IS_QLA24XX(ha) (IS_QLA2422(ha) || IS_QLA2432(ha)) 2260#define IS_QLA24XX(ha) (IS_QLA2422(ha) || IS_QLA2432(ha))
2261#define IS_QLA25XX(ha) (IS_QLA2512(ha) || IS_QLA2522(ha)) 2261#define IS_QLA54XX(ha) (IS_QLA5422(ha) || IS_QLA5432(ha))
2262 2262
2263#define IS_OEM_001(ha) ((ha)->device_type & DT_OEM_001) 2263#define IS_OEM_001(ha) ((ha)->device_type & DT_OEM_001)
2264#define HAS_EXTENDED_IDS(ha) ((ha)->device_type & DT_EXTENDED_IDS) 2264#define HAS_EXTENDED_IDS(ha) ((ha)->device_type & DT_EXTENDED_IDS)