]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:42:30 +0000 (09:42 -0800)
commit0c70e4fdd745b267179f8a9d3d03c656dfb251dc
tree4a5af23c0152f0199ddb093800c0b3d73179f399
parent101e5772280589d83f2a9f56d62faa42285d5f65
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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/libsas/sas_expander.c