diff options
author | andrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com> | 2006-03-09 17:27:39 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-12 10:40:13 -0500 |
commit | 4a59f71d7f0d6dd433fd509584352cdd7c62e877 (patch) | |
tree | eef8ffac130b9dec1bf08759813084a8b6b3aafc /drivers/scsi/qla2xxx/qla_def.h | |
parent | 6f6417905cf272337a9762e1f92a1fffa651fcd3 (diff) |
[SCSI] qla2xxx: Further restrict ZIO mode support.
Only support ZIO mode 6 on specific ISP types.
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 20798f93d8da..53508f3c4ae9 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -762,7 +762,6 @@ typedef struct { | |||
762 | #define PD_STATE_WAIT_PORT_LOGOUT_ACK 11 | 762 | #define PD_STATE_WAIT_PORT_LOGOUT_ACK 11 |
763 | 763 | ||
764 | 764 | ||
765 | #define QLA_ZIO_MODE_5 (BIT_2 | BIT_0) | ||
766 | #define QLA_ZIO_MODE_6 (BIT_2 | BIT_1) | 765 | #define QLA_ZIO_MODE_6 (BIT_2 | BIT_1) |
767 | #define QLA_ZIO_DISABLED 0 | 766 | #define QLA_ZIO_DISABLED 0 |
768 | #define QLA_ZIO_DEFAULT_TIMER 2 | 767 | #define QLA_ZIO_DEFAULT_TIMER 2 |
@@ -2238,6 +2237,7 @@ typedef struct scsi_qla_host { | |||
2238 | #define DT_ISP5432 BIT_10 | 2237 | #define DT_ISP5432 BIT_10 |
2239 | #define DT_ISP_LAST (DT_ISP5432 << 1) | 2238 | #define DT_ISP_LAST (DT_ISP5432 << 1) |
2240 | 2239 | ||
2240 | #define DT_ZIO_SUPPORTED BIT_28 | ||
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 |
2243 | #define DT_EXTENDED_IDS BIT_31 | 2243 | #define DT_EXTENDED_IDS BIT_31 |
@@ -2260,6 +2260,7 @@ typedef struct scsi_qla_host { | |||
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_QLA54XX(ha) (IS_QLA5422(ha) || IS_QLA5432(ha)) | 2261 | #define IS_QLA54XX(ha) (IS_QLA5422(ha) || IS_QLA5432(ha)) |
2262 | 2262 | ||
2263 | #define IS_ZIO_SUPPORTED(ha) ((ha)->device_type & DT_ZIO_SUPPORTED) | ||
2263 | #define IS_OEM_001(ha) ((ha)->device_type & DT_OEM_001) | 2264 | #define IS_OEM_001(ha) ((ha)->device_type & DT_OEM_001) |
2264 | #define HAS_EXTENDED_IDS(ha) ((ha)->device_type & DT_EXTENDED_IDS) | 2265 | #define HAS_EXTENDED_IDS(ha) ((ha)->device_type & DT_EXTENDED_IDS) |
2265 | 2266 | ||