scsi: mpt3sas: Added new #define variable IOC_OPERATIONAL_WAIT_COUNT
Added new #define variable IOC_OPERATIONAL_WAIT_COUNT and it replaces hard coded value '10' in all the places where driver is waiting for the IOC to become operational. Signed-off-by: Suganath Prabu <suganath-prabu.subramani@broadcom.com> Reviewed-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
6c2938f7bf
commit
02abcbc25a
@@ -140,6 +140,9 @@
|
||||
#define DEFAULT_NUM_FWCHAIN_ELEMTS 8
|
||||
|
||||
#define FW_IMG_HDR_READ_TIMEOUT 15
|
||||
|
||||
#define IOC_OPERATIONAL_WAIT_COUNT 10
|
||||
|
||||
/*
|
||||
* NVMe defines
|
||||
*/
|
||||
|
Reference in New Issue
Block a user