diff options
Diffstat (limited to 'drivers/scsi/ibmvscsi')
-rw-r--r-- | drivers/scsi/ibmvscsi/iseries_vscsi.c | 2 | ||||
-rw-r--r-- | drivers/scsi/ibmvscsi/rpa_vscsi.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/iseries_vscsi.c b/drivers/scsi/ibmvscsi/iseries_vscsi.c index 7eed0b098171..6aeb5f003c3c 100644 --- a/drivers/scsi/ibmvscsi/iseries_vscsi.c +++ b/drivers/scsi/ibmvscsi/iseries_vscsi.c | |||
@@ -81,7 +81,7 @@ int ibmvscsi_init_crq_queue(struct crq_queue *queue, | |||
81 | int rc; | 81 | int rc; |
82 | 82 | ||
83 | single_host_data = hostdata; | 83 | single_host_data = hostdata; |
84 | rc = viopath_open(viopath_hostLp, viomajorsubtype_scsi, 0); | 84 | rc = viopath_open(viopath_hostLp, viomajorsubtype_scsi, max_requests); |
85 | if (rc < 0) { | 85 | if (rc < 0) { |
86 | printk("viopath_open failed with rc %d in open_event_path\n", | 86 | printk("viopath_open failed with rc %d in open_event_path\n", |
87 | rc); | 87 | rc); |
diff --git a/drivers/scsi/ibmvscsi/rpa_vscsi.c b/drivers/scsi/ibmvscsi/rpa_vscsi.c index cafef9cbbe2e..01b8ac641eb8 100644 --- a/drivers/scsi/ibmvscsi/rpa_vscsi.c +++ b/drivers/scsi/ibmvscsi/rpa_vscsi.c | |||
@@ -235,6 +235,7 @@ int ibmvscsi_init_crq_queue(struct crq_queue *queue, | |||
235 | if (rc == 2) { | 235 | if (rc == 2) { |
236 | /* Adapter is good, but other end is not ready */ | 236 | /* Adapter is good, but other end is not ready */ |
237 | printk(KERN_WARNING "ibmvscsi: Partner adapter not ready\n"); | 237 | printk(KERN_WARNING "ibmvscsi: Partner adapter not ready\n"); |
238 | retrc = 0; | ||
238 | } else if (rc != 0) { | 239 | } else if (rc != 0) { |
239 | printk(KERN_WARNING "ibmvscsi: Error %d opening adapter\n", rc); | 240 | printk(KERN_WARNING "ibmvscsi: Error %d opening adapter\n", rc); |
240 | goto reg_crq_failed; | 241 | goto reg_crq_failed; |