Allocates and initialize a sas phy structure
struct sas_phy * sas_phy_alloc(struct device * parent, int number);
parent
Parent device
number
Phy index
Allocates an SAS PHY structure. It will be added in the device tree below the device specified by parent, which has to be either a Scsi_Host or sas_rphy.
SAS PHY allocated or NULL if the allocation failed.