From: brking@us.ibm.com Date: Tue, 1 Nov 2005 23:00:54 +0000 (-0600) Subject: [SCSI] ipr: Include all disks in supported list X-Git-Tag: v2.6.16.28-rc1~2754^2~13^2~20 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d0ad6f50399abc990adc4653c1eda5932b8adb52;p=karo-tx-linux.git [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 Signed-off-by: James Bottomley --- 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;