summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave C Boutcher <boutcher@cs.umn.edu>2006-07-06 22:07:47 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-07-09 11:28:38 -0500
commit6c51fe10475eda9f5c535f337411e1ed0e6915b9 (patch)
tree2c02961223f15997313db9ad50b8e40a36470e28
parentd14164316d48a4319d8da9dc24be8663b2472bae (diff)
[SCSI] ibmvscsi: allocate lpevents for ibmvscsi on iseries
Allocate the correct number of lp events when running ibmvscsi on legacy iseries Signed-off-by: Dave Boutcher <sleddog@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r--drivers/scsi/ibmvscsi/iseries_vscsi.c2
1 files changed, 1 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,
int rc;
single_host_data = hostdata;
- rc = viopath_open(viopath_hostLp, viomajorsubtype_scsi, 0);
+ rc = viopath_open(viopath_hostLp, viomajorsubtype_scsi, max_requests);
if (rc < 0) {
printk("viopath_open failed with rc %d in open_event_path\n",
rc);