diff options
author | Dan Williams <dan.j.williams@intel.com> | 2012-01-28 17:24:40 -0800 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-29 15:40:33 -0600 |
commit | 899fcf40f3177697ccfb029d0484cb8ec09a51ca (patch) | |
tree | 2983a14444ca62958e50e2fdbd4dc945d7a38849 /lib/digsig.c | |
parent | 9a10b33caf78f897356ac006c455e6060a40af15 (diff) |
[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 'lib/digsig.c')
0 files changed, 0 insertions, 0 deletions