.. | .. |
---|
396 | 396 | } b; |
---|
397 | 397 | } port_id_t; |
---|
398 | 398 | #define INVALID_PORT_ID 0xFFFFFF |
---|
| 399 | +#define ISP_REG16_DISCONNECT 0xFFFF |
---|
399 | 400 | |
---|
400 | 401 | static inline le_id_t be_id_to_le(be_id_t id) |
---|
401 | 402 | { |
---|
.. | .. |
---|
639 | 640 | struct iocb_resource iores; |
---|
640 | 641 | struct kref cmd_kref; /* need to migrate ref_count over to this */ |
---|
641 | 642 | void *priv; |
---|
642 | | - wait_queue_head_t nvme_ls_waitq; |
---|
643 | 643 | struct fc_port *fcport; |
---|
644 | 644 | struct scsi_qla_host *vha; |
---|
645 | 645 | unsigned int start_timer:1; |
---|
.. | .. |
---|
3849 | 3849 | u32 num_mpi_reset; |
---|
3850 | 3850 | }; |
---|
3851 | 3851 | |
---|
| 3852 | +/* refer to pcie_do_recovery reference */ |
---|
| 3853 | +typedef enum { |
---|
| 3854 | + QLA_PCI_RESUME, |
---|
| 3855 | + QLA_PCI_ERR_DETECTED, |
---|
| 3856 | + QLA_PCI_MMIO_ENABLED, |
---|
| 3857 | + QLA_PCI_SLOT_RESET, |
---|
| 3858 | +} pci_error_state_t; |
---|
3852 | 3859 | /* |
---|
3853 | 3860 | * Qlogic host adapter specific data structure. |
---|
3854 | 3861 | */ |
---|
.. | .. |
---|
4193 | 4200 | uint8_t aen_mbx_count; |
---|
4194 | 4201 | atomic_t num_pend_mbx_stage1; |
---|
4195 | 4202 | atomic_t num_pend_mbx_stage2; |
---|
4196 | | - atomic_t num_pend_mbx_stage3; |
---|
4197 | 4203 | uint16_t frame_payload_size; |
---|
4198 | 4204 | |
---|
4199 | 4205 | uint32_t login_retry_count; |
---|
.. | .. |
---|
4587 | 4593 | #define DEFAULT_ZIO_THRESHOLD 5 |
---|
4588 | 4594 | |
---|
4589 | 4595 | struct qla_hw_data_stat stat; |
---|
| 4596 | + pci_error_state_t pci_error_state; |
---|
4590 | 4597 | }; |
---|
4591 | 4598 | |
---|
4592 | 4599 | struct active_regions { |
---|
.. | .. |
---|
4707 | 4714 | #define FX00_CRITEMP_RECOVERY 25 |
---|
4708 | 4715 | #define FX00_HOST_INFO_RESEND 26 |
---|
4709 | 4716 | #define QPAIR_ONLINE_CHECK_NEEDED 27 |
---|
4710 | | -#define SET_NVME_ZIO_THRESHOLD_NEEDED 28 |
---|
| 4717 | +#define DO_EEH_RECOVERY 28 |
---|
4711 | 4718 | #define DETECT_SFP_CHANGE 29 |
---|
4712 | 4719 | #define N2N_LOGIN_NEEDED 30 |
---|
4713 | 4720 | #define IOCB_WORK_ACTIVE 31 |
---|