diff options
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_def.h')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_def.h | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_def.h b/drivers/scsi/qla4xxx/ql4_def.h index 9dc0a6616edd..0f3bfc3da5cf 100644 --- a/drivers/scsi/qla4xxx/ql4_def.h +++ b/drivers/scsi/qla4xxx/ql4_def.h | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/delay.h> | 24 | #include <linux/delay.h> |
25 | #include <linux/interrupt.h> | 25 | #include <linux/interrupt.h> |
26 | #include <linux/mutex.h> | 26 | #include <linux/mutex.h> |
27 | #include <linux/aer.h> | ||
27 | 28 | ||
28 | #include <net/tcp.h> | 29 | #include <net/tcp.h> |
29 | #include <scsi/scsi.h> | 30 | #include <scsi/scsi.h> |
@@ -36,24 +37,6 @@ | |||
36 | #include "ql4_dbg.h" | 37 | #include "ql4_dbg.h" |
37 | #include "ql4_nx.h" | 38 | #include "ql4_nx.h" |
38 | 39 | ||
39 | #if defined(CONFIG_PCIEAER) | ||
40 | #include <linux/aer.h> | ||
41 | #else | ||
42 | /* AER releated */ | ||
43 | static inline int pci_enable_pcie_error_reporting(struct pci_dev *dev) | ||
44 | { | ||
45 | return -EINVAL; | ||
46 | } | ||
47 | static inline int pci_disable_pcie_error_reporting(struct pci_dev *dev) | ||
48 | { | ||
49 | return -EINVAL; | ||
50 | } | ||
51 | static inline int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev) | ||
52 | { | ||
53 | return -EINVAL; | ||
54 | } | ||
55 | #endif | ||
56 | |||
57 | #ifndef PCI_DEVICE_ID_QLOGIC_ISP4010 | 40 | #ifndef PCI_DEVICE_ID_QLOGIC_ISP4010 |
58 | #define PCI_DEVICE_ID_QLOGIC_ISP4010 0x4010 | 41 | #define PCI_DEVICE_ID_QLOGIC_ISP4010 0x4010 |
59 | #endif | 42 | #endif |
@@ -179,6 +162,7 @@ static inline int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev) | |||
179 | #define IOCB_TOV_MARGIN 10 | 162 | #define IOCB_TOV_MARGIN 10 |
180 | #define RELOGIN_TOV 18 | 163 | #define RELOGIN_TOV 18 |
181 | #define ISNS_DEREG_TOV 5 | 164 | #define ISNS_DEREG_TOV 5 |
165 | #define HBA_ONLINE_TOV 30 | ||
182 | 166 | ||
183 | #define MAX_RESET_HA_RETRIES 2 | 167 | #define MAX_RESET_HA_RETRIES 2 |
184 | 168 | ||