[SCSI] 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)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 Jan 2011 15:12:05 +0000 (09:12 -0600)
commit4dc2757a2e9a9d1f2faee4fc6119276fc0061c16
treee450be95ac380194b48f8bc5f29409c54f20f4d7
parentd315777b32a4696feb86f2a0c9e9f39c94683649
[SCSI] mpt2sas: Fix device removal handshake for zoned devices

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>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c