summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmvscsi/iseries_vscsi.c
diff options
context:
space:
mode:
authorDave C Boutcher <boutcher@cs.umn.edu>2006-07-07 05:07:47 +0200
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-07-09 18:28:38 +0200
commit6c51fe10475eda9f5c535f337411e1ed0e6915b9 (patch)
tree2c02961223f15997313db9ad50b8e40a36470e28 /drivers/scsi/ibmvscsi/iseries_vscsi.c
parent[SCSI] aic7[9x]xx: Remove last vestiges of reverse_scan (diff)
downloadlinux-6c51fe10475eda9f5c535f337411e1ed0e6915b9.tar.xz
linux-6c51fe10475eda9f5c535f337411e1ed0e6915b9.zip
[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>
Diffstat (limited to 'drivers/scsi/ibmvscsi/iseries_vscsi.c')
-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);