'\" t .\" Title: sas_expander_alloc .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: March 2017 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.10.7 .\" Language: English .\" .TH "SAS_EXPANDER_ALLOC" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "SCSI mid layer" .\" ----------------------------------------------------------------- .\" * 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" sas_expander_alloc \- allocate an rphy for an end device .SH "SYNOPSIS" .HP \w'struct\ sas_rphy\ *\ sas_expander_alloc('u .BI "struct sas_rphy * sas_expander_alloc(struct\ sas_port\ *\ " "parent" ", enum\ sas_device_type\ " "type" ");" .SH "ARGUMENTS" .PP \fIparent\fR .RS 4 which port .RE .PP \fItype\fR .RS 4 SAS_EDGE_EXPANDER_DEVICE or SAS_FANOUT_EXPANDER_DEVICE .RE .SH "DESCRIPTION" .PP Allocates an SAS remote PHY structure, connected to \fIparent\fR\&. .SH "RETURN" .PP SAS PHY allocated or \fBNULL\fR if the allocation failed\&. .SH "AUTHORS" .PP \fBJames Bottomley\fR <\&James.Bottomley@hansenpartnership.com\&> .RS 4 Author. .RE .PP \fBRob Landley\fR <\&rob@landley.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br