.. | .. |
---|
269 | 269 | if (!test_and_set_bit(PFLG_DISCONNECTED, &vha->pci_flags) && |
---|
270 | 270 | !test_bit(PFLG_DRIVER_REMOVING, &vha->pci_flags) && |
---|
271 | 271 | !test_bit(PFLG_DRIVER_PROBING, &vha->pci_flags)) { |
---|
272 | | - /* |
---|
273 | | - * Schedule this (only once) on the default system |
---|
274 | | - * workqueue so that all the adapter workqueues and the |
---|
275 | | - * DPC thread can be shutdown cleanly. |
---|
276 | | - */ |
---|
277 | | - schedule_work(&vha->hw->board_disable); |
---|
| 272 | + qla_schedule_eeh_work(vha); |
---|
278 | 273 | } |
---|
279 | 274 | return true; |
---|
280 | 275 | } else |
---|
.. | .. |
---|
982 | 977 | unsigned long flags; |
---|
983 | 978 | fc_port_t *fcport = NULL; |
---|
984 | 979 | |
---|
985 | | - if (!vha->hw->flags.fw_started) |
---|
| 980 | + if (!vha->hw->flags.fw_started) { |
---|
| 981 | + ql_log(ql_log_warn, vha, 0x50ff, |
---|
| 982 | + "Dropping AEN - %04x %04x %04x %04x.\n", |
---|
| 983 | + mb[0], mb[1], mb[2], mb[3]); |
---|
986 | 984 | return; |
---|
| 985 | + } |
---|
987 | 986 | |
---|
988 | 987 | /* Setup to process RIO completion. */ |
---|
989 | 988 | handle_cnt = 0; |
---|
.. | .. |
---|
1639 | 1638 | case MBA_TEMPERATURE_ALERT: |
---|
1640 | 1639 | ql_dbg(ql_dbg_async, vha, 0x505e, |
---|
1641 | 1640 | "TEMPERATURE ALERT: %04x %04x %04x\n", mb[1], mb[2], mb[3]); |
---|
1642 | | - if (mb[1] == 0x12) |
---|
1643 | | - schedule_work(&ha->board_disable); |
---|
1644 | 1641 | break; |
---|
1645 | 1642 | |
---|
1646 | 1643 | case MBA_TRANS_INSERT: |
---|
.. | .. |
---|
3139 | 3136 | case CS_PORT_BUSY: |
---|
3140 | 3137 | case CS_INCOMPLETE: |
---|
3141 | 3138 | case CS_PORT_UNAVAILABLE: |
---|
3142 | | - case CS_TIMEOUT: |
---|
3143 | 3139 | case CS_RESET: |
---|
3144 | 3140 | |
---|
3145 | 3141 | /* |
---|