From: Dan Williams Date: Sun, 29 Jan 2012 01:24:40 +0000 (-0800) Subject: [SCSI] libsas: set attached device type and target protocols for local phys X-Git-Tag: v3.4-rc1~145^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=899fcf40f3177697ccfb029d0484cb8ec09a51ca;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed