'\" t .\" Title: mpt_raid_phys_disk_pg1 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "MPT_RAID_PHYS_DISK_P" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Message-based devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" mpt_raid_phys_disk_pg1 \- returns phys disk page 1 .SH "SYNOPSIS" .HP \w'int\ mpt_raid_phys_disk_pg1('u .BI "int mpt_raid_phys_disk_pg1(MPT_ADAPTER\ *\ " "ioc" ", u8\ " "phys_disk_num" ", RaidPhysDiskPage1_t\ *\ " "phys_disk" ");" .SH "ARGUMENTS" .PP \fIioc\fR .RS 4 Pointer to a Adapter Structure .RE .PP \fIphys_disk_num\fR .RS 4 io unit unique phys disk num generated by the ioc .RE .PP \fIphys_disk\fR .RS 4 requested payload data returned .RE .SH "RETURN" .PP 0 on success \-EFAULT if read of config page header fails or data pointer not NULL \-ENOMEM if pci_alloc failed .SH "COPYRIGHT" .br