Skip to content
  • James Bottomley's avatar
    [SCSI] libsas: use the supplied address for SATA devices rather than changing it · a29c0515
    James Bottomley authored
    
    
    Once the phy reset is plumbed in properly, SATA error handling fails
    nastily because we change the port attached_sas_address using the WWN
    field of the IDENTIFY message.  This is a nice thing to do in theory,
    but it really destroys hotplug because any event on the port causes an
    automatic mismatch between the sas_address the phy just picked up and
    the one we propagate into the port.  However ugly they are, we have to
    stick with the sas addresses made up by the phys and expanders.
    
    Also does a few cosmetic changes to the way port printing is done to
    make it clearer how a port is formed.
    
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
    a29c0515