]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[SCSI] ibmvscsi: allocate lpevents for ibmvscsi on iseries
authorDave C Boutcher <boutcher@cs.umn.edu>
Fri, 7 Jul 2006 03:07:47 +0000 (22:07 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 9 Jul 2006 16:28:38 +0000 (11:28 -0500)
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>
drivers/scsi/ibmvscsi/iseries_vscsi.c

index 7eed0b098171f6b37670ebe3db4b24689cfa68ad..6aeb5f003c3c912a0e53099d7d86c126f2ed505e 100644 (file)
@@ -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);