1SAS_PHY_ALLOC(9)                SCSI mid layer                SAS_PHY_ALLOC(9)
2
3
4

NAME

6       sas_phy_alloc - allocates and initialize a SAS PHY structure
7

SYNOPSIS

9       struct sas_phy * sas_phy_alloc(struct device * parent, int number);
10

ARGUMENTS

12       parent
13           Parent device
14
15       number
16           Phy index
17

DESCRIPTION

19       Allocates an SAS PHY structure. It will be added in the device tree
20       below the device specified by parent, which has to be either a
21       Scsi_Host or sas_rphy.
22

RETURNS

24       SAS PHY allocated or NULL if the allocation failed.
25

AUTHORS

27       James Bottomley <James.Bottomley@hansenpartnership.com>
28           Author.
29
30       Rob Landley <rob@landley.net>
31           Author.
32
34Kernel Hackers Manual 2.6.       November 2011                SAS_PHY_ALLOC(9)
Impressum