diff options
author | Chaitra P B <chaitra.basappa@broadcom.com> | 2018-04-24 11:28:39 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-05-08 06:34:20 +0200 |
commit | 3d29ed85fc9ca673fbae0f97178ef64c1314f7e2 (patch) | |
tree | 53012c1baa406ff4eaefe386d501e17ad6689cb7 /drivers/scsi/mpt3sas/mpt3sas_base.h | |
parent | scsi: mpt3sas: Cache enclosure pages during enclosure add. (diff) | |
download | linux-3d29ed85fc9ca673fbae0f97178ef64c1314f7e2.tar.xz linux-3d29ed85fc9ca673fbae0f97178ef64c1314f7e2.zip |
scsi: mpt3sas: Report Firmware Package Version from HBA Driver.
Added function _base_display_fwpkg_version, which sends FWUpload request
to pull FW package version from FW Image Header. Now driver prints FW
package version in addition to FW version if the PackageVersion is
valid.
Signed-off-by: Chaitra P B <chaitra.basappa@broadcom.com>
Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/scsi/mpt3sas/mpt3sas_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h index 3fafee666789..0eceebbdc5d5 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_base.h +++ b/drivers/scsi/mpt3sas/mpt3sas_base.h @@ -138,6 +138,7 @@ #define MAX_CHAIN_ELEMT_SZ 16 #define DEFAULT_NUM_FWCHAIN_ELEMTS 8 +#define FW_IMG_HDR_READ_TIMEOUT 15 /* * NVMe defines */ |