[SCSI] libsas: set sas_address and device type of rphy
authorJack Wang <jack_wang@usish.com>
Fri, 23 Sep 2011 06:32:32 +0000 (14:32 +0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 2 Oct 2011 17:51:06 +0000 (12:51 -0500)
commitbb041a0e9c31229071b6e56e1d0d8374af0d2038
tree5dd6587870627a58b85c2e2f1aa8618ce3fffd75
parentd962480e9a061505637bb16543d49e247349e25d
[SCSI] libsas: set sas_address and device type of rphy

Libsas forget to set the sas_address and device type of rphy lead to file
under /sys/class/sas_x show wrong value, fix that.

Signed-off-by: Jack Wang <jack_wang@usish.com>
Tested-by: Crystal Yu <crystal_yu@usish.com>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libsas/sas_expander.c