1MPT_DO_IOC_RECOVERY(9) Message-based devices MPT_DO_IOC_RECOVERY(9)
2
3
4
6 mpt_do_ioc_recovery - Initialize or recover MPT adapter.
7
9 int mpt_do_ioc_recovery(MPT_ADAPTER * ioc, u32 reason, int sleepFlag);
10
12 ioc
13 Pointer to MPT adapter structure
14
15 reason
16 Event word / reason
17
18 sleepFlag
19 Use schedule if CAN_SLEEP else use udelay.
20
22 This routine performs all the steps necessary to bring the IOC to a
23 OPERATIONAL state.
24
25 This routine also pre-fetches the LAN MAC address of a Fibre Channel
26 MPT adapter.
27
29 0 for success -1 if failed to get board READY -2 if READY but IOCFacts
30 Failed -3 if READY but PrimeIOCFifos Failed -4 if READY but IOCInit
31 Failed -5 if failed to enable_device and/or request_selected_regions -6
32 if failed to upload firmware
33
35Kernel Hackers Manual 2.6. June 2019 MPT_DO_IOC_RECOVERY(9)