]> err.no Git - linux-2.6/commitdiff
[SCSI] ipr: Include all disks in supported list
authorbrking@us.ibm.com <brking@us.ibm.com>
Tue, 1 Nov 2005 23:00:54 +0000 (17:00 -0600)
committerJames Bottomley <jejb@mulgrave.(none)>
Sun, 6 Nov 2005 19:01:55 +0000 (13:01 -0600)
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>
drivers/scsi/ipr.c

index b5a2669518bae9decf1ad01ab88f17656b4d8220..d47df3f9d226096d37560601f6a3743ca62d67d5 100644 (file)
@@ -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;