aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorJoe Carnuccio <joe.carnuccio@qlogic.com>2014-04-11 16:54:13 -0400
committerChristoph Hellwig <hch@lst.de>2014-05-19 07:31:00 -0400
commit2c5bbbb25f0dd6b178f9b03c93c87b6d7727cdc4 (patch)
tree3c45fc236351a4573feb7f3397dadc552b1b3ed0 /drivers/scsi/qla2xxx/qla_def.h
parentaf13b700de669e80c215236769649a7393a5e356 (diff)
qla2xxx: Add pci device id 0x2271.
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index 6a106136716c..89bece72ef66 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -2907,6 +2907,8 @@ struct qla_hw_data {
2907#define PCI_DEVICE_ID_QLOGIC_ISP8031 0x8031 2907#define PCI_DEVICE_ID_QLOGIC_ISP8031 0x8031
2908#define PCI_DEVICE_ID_QLOGIC_ISP2031 0x2031 2908#define PCI_DEVICE_ID_QLOGIC_ISP2031 0x2031
2909#define PCI_DEVICE_ID_QLOGIC_ISP2071 0x2071 2909#define PCI_DEVICE_ID_QLOGIC_ISP2071 0x2071
2910#define PCI_DEVICE_ID_QLOGIC_ISP2271 0x2271
2911
2910 uint32_t device_type; 2912 uint32_t device_type;
2911#define DT_ISP2100 BIT_0 2913#define DT_ISP2100 BIT_0
2912#define DT_ISP2200 BIT_1 2914#define DT_ISP2200 BIT_1
@@ -2928,7 +2930,8 @@ struct qla_hw_data {
2928#define DT_ISPFX00 BIT_17 2930#define DT_ISPFX00 BIT_17
2929#define DT_ISP8044 BIT_18 2931#define DT_ISP8044 BIT_18
2930#define DT_ISP2071 BIT_19 2932#define DT_ISP2071 BIT_19
2931#define DT_ISP_LAST (DT_ISP2071 << 1) 2933#define DT_ISP2271 BIT_20
2934#define DT_ISP_LAST (DT_ISP2271 << 1)
2932 2935
2933#define DT_T10_PI BIT_25 2936#define DT_T10_PI BIT_25
2934#define DT_IIDMA BIT_26 2937#define DT_IIDMA BIT_26
@@ -2959,6 +2962,7 @@ struct qla_hw_data {
2959#define IS_QLA8031(ha) (DT_MASK(ha) & DT_ISP8031) 2962#define IS_QLA8031(ha) (DT_MASK(ha) & DT_ISP8031)
2960#define IS_QLAFX00(ha) (DT_MASK(ha) & DT_ISPFX00) 2963#define IS_QLAFX00(ha) (DT_MASK(ha) & DT_ISPFX00)
2961#define IS_QLA2071(ha) (DT_MASK(ha) & DT_ISP2071) 2964#define IS_QLA2071(ha) (DT_MASK(ha) & DT_ISP2071)
2965#define IS_QLA2271(ha) (DT_MASK(ha) & DT_ISP2271)
2962 2966
2963#define IS_QLA23XX(ha) (IS_QLA2300(ha) || IS_QLA2312(ha) || IS_QLA2322(ha) || \ 2967#define IS_QLA23XX(ha) (IS_QLA2300(ha) || IS_QLA2312(ha) || IS_QLA2322(ha) || \
2964 IS_QLA6312(ha) || IS_QLA6322(ha)) 2968 IS_QLA6312(ha) || IS_QLA6322(ha))
@@ -2967,7 +2971,7 @@ struct qla_hw_data {
2967#define IS_QLA25XX(ha) (IS_QLA2532(ha)) 2971#define IS_QLA25XX(ha) (IS_QLA2532(ha))
2968#define IS_QLA83XX(ha) (IS_QLA2031(ha) || IS_QLA8031(ha)) 2972#define IS_QLA83XX(ha) (IS_QLA2031(ha) || IS_QLA8031(ha))
2969#define IS_QLA84XX(ha) (IS_QLA8432(ha)) 2973#define IS_QLA84XX(ha) (IS_QLA8432(ha))
2970#define IS_QLA27XX(ha) (IS_QLA2071(ha)) 2974#define IS_QLA27XX(ha) (IS_QLA2071(ha) || IS_QLA2271(ha))
2971#define IS_QLA24XX_TYPE(ha) (IS_QLA24XX(ha) || IS_QLA54XX(ha) || \ 2975#define IS_QLA24XX_TYPE(ha) (IS_QLA24XX(ha) || IS_QLA54XX(ha) || \
2972 IS_QLA84XX(ha)) 2976 IS_QLA84XX(ha))
2973#define IS_CNA_CAPABLE(ha) (IS_QLA81XX(ha) || IS_QLA82XX(ha) || \ 2977#define IS_CNA_CAPABLE(ha) (IS_QLA81XX(ha) || IS_QLA82XX(ha) || \