1. NAME

sas_expander_alloc - allocate an rphy for an end device

2. SYNOPSIS

struct sas_rphy * sas_expander_alloc(struct sas_port *  parent , enum sas_device_type  type );

3. ARGUMENTS

parent
    which port

type
    SAS_EDGE_EXPANDER_DEVICE or SAS_FANOUT_EXPANDER_DEVICE

4. DESCRIPTION

Allocates an SAS remote PHY structure, connected to parent.

5. RETURNS

SAS PHY allocated or NULL if the allocation failed.

6. AUTHORS

James Bottomley <>
    Author.

Rob Landley <>
    Author.

7. COPYRIGHT