summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrking@us.ibm.com <brking@us.ibm.com>2005-11-02 00:00:54 +0100
committerJames Bottomley <jejb@mulgrave.(none)>2005-11-06 20:01:55 +0100
commitd0ad6f50399abc990adc4653c1eda5932b8adb52 (patch)
treee280200d10c50e5ee5db5059f2be581311d54f2c
parent[SCSI] ipr: Error logging cleanup (diff)
downloadlinux-d0ad6f50399abc990adc4653c1eda5932b8adb52.tar.xz
linux-d0ad6f50399abc990adc4653c1eda5932b8adb52.zip
[SCSI] ipr: Include all disks in supported list
Fix ipr to include all disks in the supported device list, not just disks formatted to advanced function format. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r--drivers/scsi/ipr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index b5a2669518ba..d47df3f9d226 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -4111,7 +4111,7 @@ static int ipr_set_supported_devs(struct ipr_cmnd *ipr_cmd)
ipr_cmd->job_step = ipr_ioa_reset_done;
list_for_each_entry_continue(res, &ioa_cfg->used_res_q, queue) {
- if (!ipr_is_af_dasd_device(res))
+ if (!IPR_IS_DASD_DEVICE(res->cfgte.std_inq_data))
continue;
ipr_cmd->u.res = res;