Skip to content

Commit

Permalink
[SCSI] ipr: Support device reset to RAID disks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
brking@us.ibm.com authored and James Bottomley committed Nov 6, 2005
1 parent ee0a90f commit eeb8830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/ipr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down

0 comments on commit eeb8830

Please sign in to comment.