[SCSI] libsas: fix sas port naming
authorDan Williams <dan.j.williams@intel.com>
Mon, 16 Jan 2012 21:54:28 +0000 (13:54 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Feb 2012 21:29:06 +0000 (15:29 -0600)
commita692b0eec5efae382dfa800e8b4b083f172921a7
tree04cee8e7776630d89d8a66ad5a88baf503a54acc
parentd214d81e883b6fc6f11cc772ff88585565d45cce
[SCSI] libsas: fix sas port naming

Make sas-port naming consistent with the expander-attached case whereby
the phy-id is the last digit in the port name.  Otherwise we get the
random behavior of the allocation order.

Reported-by: Patrick Thomson <patrick.s.thomson@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libsas/sas_port.c