'\" t .\" Title: mpt_raid_phys_disk_pg0 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "MPT_RAID_PHYS_DISK_P" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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_pg0 \- returns phys disk page zero .SH "SYNOPSIS" .HP \w'int\ mpt_raid_phys_disk_pg0('u .BI "int mpt_raid_phys_disk_pg0(MPT_ADAPTER\ *\ " "ioc" ", u8\ " "phys_disk_num" ", RaidPhysDiskPage0_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