]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SCSI] libsas: fix wide port hotplug issues
authorTom Peng <tom_peng@usish.com>
Fri, 17 Jul 2009 08:02:04 +0000 (16:02 +0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 30 Jul 2009 14:54:39 +0000 (09:54 -0500)
commit19252de6818ced0def0551d64a0a2975f52a523d
treebdd56c97b5e94a742c5090b53e3f437505c245c1
parenta0cc1ecc098e31d03b3265712a3e280a7fabf438
[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>
drivers/scsi/libsas/sas_expander.c