]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla2xxx: Enable T10-DIF for ISP27XX
authorHimanshu Madhani <himanshu.madhani@qlogic.com>
Wed, 27 Jan 2016 17:03:36 +0000 (12:03 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 16 Mar 2016 11:39:13 +0000 (04:39 -0700)
Orabug: 22863553

Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/scsi/qla2xxx/qla_os.c

index 82e07155d26cf5c467a16a2f474482775f69d289..8e825e0323dcb066aa5890029bc06c128faeaf91 100644 (file)
@@ -2206,6 +2206,7 @@ qla2x00_set_isp_flags(struct qla_hw_data *ha)
                ha->device_type |= DT_ZIO_SUPPORTED;
                ha->device_type |= DT_FWI2;
                ha->device_type |= DT_IIDMA;
+               ha->device_type |= DT_T10_PI;
                ha->fw_srisc_address = RISC_START_ADDRESS_2400;
                break;
        case PCI_DEVICE_ID_QLOGIC_ISP2271:
@@ -2213,6 +2214,7 @@ qla2x00_set_isp_flags(struct qla_hw_data *ha)
                ha->device_type |= DT_ZIO_SUPPORTED;
                ha->device_type |= DT_FWI2;
                ha->device_type |= DT_IIDMA;
+               ha->device_type |= DT_T10_PI;
                ha->fw_srisc_address = RISC_START_ADDRESS_2400;
                break;
        case PCI_DEVICE_ID_QLOGIC_ISP2261:
@@ -2220,6 +2222,7 @@ qla2x00_set_isp_flags(struct qla_hw_data *ha)
                ha->device_type |= DT_ZIO_SUPPORTED;
                ha->device_type |= DT_FWI2;
                ha->device_type |= DT_IIDMA;
+               ha->device_type |= DT_T10_PI;
                ha->fw_srisc_address = RISC_START_ADDRESS_2400;
                break;
        }