android_kernel_xiaomi_sm8350/drivers/scsi/libsas
Tom Peng 19252de681 [SCSI] libsas: fix wide port hotplug issues
Hotplug of phys which form wide ports simply does not work at the moment.  Fix
this by adding checks at the hotplug points to see if the attached sas address
of the phy already exists (in which case it's part of a wide port) and act
accordingly.

Signed-off-by: Tom Peng <tom_peng@usish.com>
Signed-off-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: Lindar Liu <lindar_liu@usish.com>
Signed-off-by: Kevin Ao <aoqingyun@usish.com>
[jejb: tidied up coding, fixed an error case and made TRUE/FALSE lower
 case to fix a ppc64 compile error in linux-next]
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-07-30 09:54:39 -05:00
..
Kconfig [SCSI] libsas: add host SMP processing 2008-01-11 18:29:11 -06:00
Makefile [SCSI] libsas: abstract STP task status into a function 2008-01-25 11:47:23 -06:00
sas_ata.c Merge branch 'for-2.6.28' of git://git.kernel.dk/linux-2.6-block 2008-10-10 10:52:45 -07:00
sas_discover.c [SCSI] struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-02 10:22:16 -06:00
sas_dump.c [SCSI] struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-02 10:22:16 -06:00
sas_dump.h
sas_event.c
sas_expander.c [SCSI] libsas: fix wide port hotplug issues 2009-07-30 09:54:39 -05:00
sas_host_smp.c block: set rq->resid_len to blk_rq_bytes() on issue 2009-05-19 11:36:08 +02:00
sas_init.c
sas_internal.h block: unify request timeout handling 2008-10-09 08:56:13 +02:00
sas_phy.c
sas_port.c [SCSI] libsas: reuse the original port when hotplugging phys in wide ports 2009-07-16 12:50:44 -05:00
sas_scsi_host.c [libata] get-identity ioctl: Fix use of invalid memory pointer 2009-01-16 10:17:09 -05:00
sas_task.c [SCSI] libsas: abstract STP task status into a function 2008-01-25 11:47:23 -06:00