]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Aug 2012 19:35:26 +0000 (15:35 -0400)
commit1d1a6db4a119fccb7e5c6d0cdbead00e069f27cf
tree53451a72003de8805ce92bd499567dcf75e8412d
parentb5a5ec9c0f013e63564aceb7e64a5cb9391fc6b8
libsas: set sas_address and device type of rphy

commit bb041a0e9c31229071b6e56e1d0d8374af0d2038 upstream.

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>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/scsi/libsas/sas_expander.c