diff options
author | Dan Williams <dan.j.williams@intel.com> | 2012-01-29 05:24:40 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-03-01 01:40:33 +0400 |
commit | 899fcf40f3177697ccfb029d0484cb8ec09a51ca (patch) | |
tree | 2983a14444ca62958e50e2fdbd4dc945d7a38849 /drivers/pci/probe.c | |
parent | 9a10b33caf78f897356ac006c455e6060a40af15 (diff) | |
download | linux-899fcf40f3177697ccfb029d0484cb8ec09a51ca.tar.xz |
[SCSI] libsas: set attached device type and target protocols for local phys
Before:
$ cat /sys/class/sas_phy/phy-6\:3/device_type
none
$ cat /sys/class/sas_phy/phy-6\:3/target_port_protocols
none
After:
$ cat /sys/class/sas_phy/phy-6\:3/device_type
end device
$ cat /sys/class/sas_phy/phy-6\:3/target_port_protocols
sata
Also downgrade the phy_list_lock to _irq instead of _irqsave since
libsas will never call sas_get_port_device with interrupts disbled.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/pci/probe.c')
0 files changed, 0 insertions, 0 deletions