1MPT_GETSCSIPORTSETTI(9) Message-based devices MPT_GETSCSIPORTSETTI(9)
2
3
4
6 mpt_GetScsiPortSettings - read SCSI Port Page 0 and 2
7
9 int mpt_GetScsiPortSettings(MPT_ADAPTER * ioc, int portnum);
10
12 ioc
13 Pointer to a Adapter Strucutre
14
15 portnum
16 IOC port number
17
19 -EFAULT if read of config page header fails or if no nvram If read of
20 SCSI Port Page 0 fails, NVRAM = MPT_HOST_NVRAM_INVALID (0xFFFFFFFF)
21
23 async, narrow Return 1 If read of SCSI Port Page 2 fails, Adapter
24 settings valid NVRAM = MPT_HOST_NVRAM_INVALID (0xFFFFFFFF) Return 1
25 Else Both valid Return 0 CHECK - what type of locking mechanisms should
26 be used????
27
29Kernel Hackers Manual 2.6. November 2011 MPT_GETSCSIPORTSETTI(9)