sas_expander_alloc(9)
sas_expander_alloc – allocate an rphy for an end device
Synopsis
struct sas_rphy *sas_expander_alloc(struct sas_port *parent, enum sas_device_type type);Arguments
parent
- which port
type
- SAS_EDGE_EXPANDER_DEVICE or SAS_FANOUT_EXPANDER_DEVICE
Description
Allocates an SAS remote PHY structure, connected to parent.
Return
SAS PHY allocated or NULL if the allocation failed.
Authors
James Bottomley <James.Bottomley [at] hansenpartnership.com>
- Author.
Rob Landley <rob [at] landley.net>
- Author.