Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eeb88307 authored by Brian King's avatar Brian King Committed by James Bottomley
Browse files

[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: default avatarBrian King <brking@us.ibm.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent ee0a90fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;
	ioa_cfg = (struct ipr_ioa_cfg *) scsi_cmd->device->host->hostdata;
	res = scsi_cmd->device->hostdata;
	res = scsi_cmd->device->hostdata;


	if (!res || (!ipr_is_gscsi(res) && !ipr_is_vset_device(res)))
	if (!res)
		return FAILED;
		return FAILED;


	/*
	/*