aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ipr.c
diff options
context:
space:
mode:
authorbrking@us.ibm.com <brking@us.ibm.com>2005-11-01 17:02:29 -0600
committerJames Bottomley <jejb@mulgrave.(none)>2005-11-06 13:11:14 -0600
commiteeb88307aa483129d122137c88be7db0f0b56f63 (patch)
treeca368857958ef2be06ad43ce5bacf3e119fd917d /drivers/scsi/ipr.c
parentee0a90fa3efffcaccffea5a9c1599f4c59ca55d4 (diff)
downloadkernel_samsung_smdk4412-eeb88307aa483129d122137c88be7db0f0b56f63.zip
kernel_samsung_smdk4412-eeb88307aa483129d122137c88be7db0f0b56f63.tar.gz
kernel_samsung_smdk4412-eeb88307aa483129d122137c88be7db0f0b56f63.tar.bz2
[SCSI] ipr: Support device reset to RAID disks
Support now exists in some ipr adapters to issue a device reset to an Advanced Function disk. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ipr.c')
-rw-r--r--drivers/scsi/ipr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index 2f84f26..133106f 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -3324,7 +3324,7 @@ static int __ipr_eh_dev_reset(struct scsi_cmnd * scsi_cmd)
ioa_cfg = (struct ipr_ioa_cfg *) scsi_cmd->device->host->hostdata;
res = scsi_cmd->device->hostdata;
- if (!res || (!ipr_is_gscsi(res) && !ipr_is_vset_device(res)))
+ if (!res)
return FAILED;
/*