diff options
author | brking@us.ibm.com <brking@us.ibm.com> | 2005-11-01 18:02:29 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-11-06 14:11:14 -0500 |
commit | eeb88307aa483129d122137c88be7db0f0b56f63 (patch) | |
tree | ca368857958ef2be06ad43ce5bacf3e119fd917d /drivers | |
parent | ee0a90fa3efffcaccffea5a9c1599f4c59ca55d4 (diff) |
[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')
-rw-r--r-- | drivers/scsi/ipr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 2f84f26624bf..133106f6cb00 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) | |||
3324 | ioa_cfg = (struct ipr_ioa_cfg *) scsi_cmd->device->host->hostdata; | 3324 | ioa_cfg = (struct ipr_ioa_cfg *) scsi_cmd->device->host->hostdata; |
3325 | res = scsi_cmd->device->hostdata; | 3325 | res = scsi_cmd->device->hostdata; |
3326 | 3326 | ||
3327 | if (!res || (!ipr_is_gscsi(res) && !ipr_is_vset_device(res))) | 3327 | if (!res) |
3328 | return FAILED; | 3328 | return FAILED; |
3329 | 3329 | ||
3330 | /* | 3330 | /* |