be2iscsi : Fix the retry count for boot targets
[firefly-linux-kernel-4.4.55.git] / drivers / scsi / be2iscsi / be_main.h
index e70ea26bbc2b0fff8a82c540edd4aceab371da45..ce7c6632f7da9e11e6b409a08f386c8eaeeac779 100644 (file)
 
 #define BEISCSI_CLEAN_UNLOAD   0x01
 #define BEISCSI_EEH_UNLOAD     0x02
+
+#define BE_GET_BOOT_RETRIES    45
+#define BE_GET_BOOT_TO         20
 /**
  * hardware needs the async PDU buffers to be posted in multiples of 8
  * So have atleast 8 of them by default
@@ -413,6 +416,7 @@ struct beiscsi_hba {
        } fw_config;
 
        unsigned int state;
+       int get_boot;
        bool fw_timeout;
        bool ue_detected;
        struct delayed_work beiscsi_hw_check_task;