]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mpt2sas: Fix device removal handshake for zoned devices
authorKashyap, Desai <kashyap.desai@lsi.com>
Tue, 4 Jan 2011 06:02:13 +0000 (11:32 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:13:59 +0000 (15:13 -0800)
commit146a37c6bd6e9baa62ebb8c99baabb587f586d74
tree1940d9097cad82ceb02285d6023eea19fc6f7fa2
parent8d0cf973a6813b48d950d4e82e6b063dc6f912a4
mpt2sas: Fix device removal handshake for zoned devices

commit 4dc2757a2e9a9d1f2faee4fc6119276fc0061c16 upstream.

When zoning end devices, the driver is not sending device
removal handshake alogrithm to firmware. This results in controller
firmware not sending sas topology add events the next time the device is
added. The fix is the driver should be doing the device removal handshake
even though the PHYSTATUS_VACANT bit is set in the PhyStatus of the
event data. The current design is avoiding the handshake when the
VACANT bit is set in the phy status.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c