---
name: "mpt_GetScsiPortSettings"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mpt_GetScsiPortSettings"
---

# mpt\_GetScsiPortSettings(9)

read SCSI Port Page 0 and 2

## NAME

mpt\_GetScsiPortSettings - read SCSI Port Page 0 and 2

## SYNOPSIS

**int mpt\_GetScsiPortSettings(MPT\_ADAPTER \*** *ioc***, int** *portnum***);**

## ARGUMENTS

*ioc*

Pointer to a Adapter Strucutre

*portnum*

IOC port number

## RETURN

\-EFAULT if read of config page header fails or if no nvram If read of SCSI Port Page 0 fails, NVRAM = MPT\_HOST\_NVRAM\_INVALID (0xFFFFFFFF)

## ADAPTER SETTINGS

async, narrow Return 1 If read of SCSI Port Page 2 fails, Adapter settings valid NVRAM = MPT\_HOST\_NVRAM\_INVALID (0xFFFFFFFF) Return 1 Else Both valid Return 0 CHECK - what type of locking mechanisms should be used????

## COPYRIGHT
