aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/csiostor/csio_hw.h
diff options
context:
space:
mode:
authorVarun Prakash2017-06-01 12:48:33 +0530
committerMartin K. Petersen2017-06-12 20:48:05 -0400
commit96e6c633ec48ca487cc150d77810ac500bab35f8 (patch)
tree6cd7602b63abbf64d6f8365969fbc8f217ad3e9a /drivers/scsi/csiostor/csio_hw.h
parent3011b4826891244a4c8a8c668251705a1268f650 (diff)
scsi: csiostor: add check for supported fw version
T6 FCoE support is added in fw version 1.16.45.0 so return error if fw version < 1.16.45.0 for T6 adapters. Signed-off-by: Varun Prakash <varun@chelsio.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/csiostor/csio_hw.h')
-rw-r--r--drivers/scsi/csiostor/csio_hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/csiostor/csio_hw.h b/drivers/scsi/csiostor/csio_hw.h
index 62758e830d3b..9acb89538e29 100644
--- a/drivers/scsi/csiostor/csio_hw.h
+++ b/drivers/scsi/csiostor/csio_hw.h
@@ -71,6 +71,7 @@
#define CSIO_MAX_CMD_PER_LUN 32
#define CSIO_MAX_DDP_BUF_SIZE (1024 * 1024)
#define CSIO_MAX_SECTOR_SIZE 128
+#define CSIO_MIN_T6_FW 0x01102D00 /* FW 1.16.45.0 */
/* Interrupts */
#define CSIO_EXTRA_MSI_IQS 2 /* Extra iqs for INTX/MSI mode