2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 10:13:57 +08:00
linux-next/drivers/scsi/libsas
Dan Williams 899fcf40f3 [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>
2012-02-29 15:40:33 -06:00
..
Kconfig [SCSI] libsas: convert to standard kernel debugging 2011-01-24 12:05:38 -06:00
Makefile Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-03-20 18:14:55 -07:00
sas_ata.c [SCSI] libsas: revert ata srst 2012-02-29 15:39:25 -06:00
sas_discover.c [SCSI] libsas: set attached device type and target protocols for local phys 2012-02-29 15:40:33 -06:00
sas_dump.c [SCSI] libsas: convert to standard kernel debugging 2011-01-24 12:05:38 -06:00
sas_dump.h [SCSI] libsas: convert to standard kernel debugging 2011-01-24 12:05:38 -06:00
sas_event.c [SCSI] libsas: fix sas_unregister_ports vs sas_drain_work 2012-02-29 15:27:09 -06:00
sas_expander.c [SCSI] libsas: restore scan order 2012-02-29 15:34:19 -06:00
sas_host_smp.c [SCSI] libsas: route local link resets through ata-eh 2012-02-29 15:25:32 -06:00
sas_init.c [SCSI] libsas: fix sas_unregister_ports vs sas_drain_work 2012-02-29 15:27:09 -06:00
sas_internal.h [SCSI] libsas: set attached device type and target protocols for local phys 2012-02-29 15:40:33 -06:00
sas_phy.c [SCSI] libsas: replace event locks with atomic bitops 2012-02-19 13:41:04 -06:00
sas_port.c [SCSI] libsas: set attached device type and target protocols for local phys 2012-02-29 15:40:33 -06:00
sas_scsi_host.c [SCSI] libsas: fix lifetime of SAS_HA_FROZEN 2012-02-29 15:38:09 -06:00
sas_task.c scsi: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required 2011-10-31 19:31:23 -04:00