]> err.no Git - linux-2.6/commitdiff
[SCSI] ipr: Support device reset to RAID disks
authorbrking@us.ibm.com <brking@us.ibm.com>
Tue, 1 Nov 2005 23:02:29 +0000 (17:02 -0600)
committerJames Bottomley <jejb@mulgrave.(none)>
Sun, 6 Nov 2005 19:11:14 +0000 (13:11 -0600)
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>
drivers/scsi/ipr.c

index 2f84f26624bf8778e49f2d82d4ce21e15f5e73d3..133106f6cb006343b02111b8ad398d703dd2111c 100644 (file)
@@ -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;
 
        /*