diff options
| author | Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com> | 2015-08-19 10:47:06 -0400 |
|---|---|---|
| committer | James Bottomley <JBottomley@Odin.com> | 2015-08-28 16:14:53 -0400 |
| commit | e35d7f27fbd51a09a41a5439e39f22a3d102c00b (patch) | |
| tree | 80bd7a1c419a5903252e237a4485f19b3466631f /drivers/scsi | |
| parent | 3cb4fc1fcae9647c594bc2b8fda1b818f4fb757f (diff) | |
ipr: Enable SIS pipe commands for SIS-32 devices.
Remove unnecessary check that disabled SIS pipe commands for SIS-32
devices. This change was sufficient to enable raw mode and send SIS
pipe commands for a 57B3 device.
Fixes: f8ee25d7d239 ("ipr: AF DASD raw mode implementation in ipr driver")
Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Reviewed-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi')
| -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 ba16dd79f451..b62836ddbbee 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
| @@ -4555,7 +4555,7 @@ static ssize_t ipr_store_raw_mode(struct device *dev, | |||
| 4555 | spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); | 4555 | spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); |
| 4556 | res = (struct ipr_resource_entry *)sdev->hostdata; | 4556 | res = (struct ipr_resource_entry *)sdev->hostdata; |
| 4557 | if (res) { | 4557 | if (res) { |
| 4558 | if (ioa_cfg->sis64 && ipr_is_af_dasd_device(res)) { | 4558 | if (ipr_is_af_dasd_device(res)) { |
| 4559 | res->raw_mode = simple_strtoul(buf, NULL, 10); | 4559 | res->raw_mode = simple_strtoul(buf, NULL, 10); |
| 4560 | len = strlen(buf); | 4560 | len = strlen(buf); |
| 4561 | if (res->sdev) | 4561 | if (res->sdev) |
