[SCSI] mvsas: check hd whether unplugged
authorKe Wei <kewei@marvell.com>
Thu, 27 Mar 2008 06:54:50 +0000 (14:54 +0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 28 Mar 2008 17:31:25 +0000 (12:31 -0500)
commit4e52fc0a0a2ec2158691efba3f149f6416481255
tree4f954e28a7dfc19fd7cb249b6eb31a0ea8939600
parent1fce5e5da03b18505179882be27cc697f24d6b58
[SCSI] mvsas: check hd whether unplugged

if unplugged, driver's queuecommand function will return SAS_PHY_DOWN.
task->lldd_task is used for saving its slot info.

Signed-off-by: Ke Wei <kewei@marvell.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/mvsas.c