lkml.org 
[lkml]   [2003]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[Patch] aacraid driver for 2.5
From
Date
This changes the cmd_per_lun element of the aacraid Scsi_Host_Template
to 1. The larger number is not needed and exceeds the depth limit for
scsi_adjust_queue_depth. Also updated struct initializers.


--
Mark Haverkamp <markh@osdl.org>
===== drivers/scsi/aacraid/linit.c 1.12 vs edited =====
--- 1.12/drivers/scsi/aacraid/linit.c Mon Feb 24 13:03:30 2003
+++ edited/drivers/scsi/aacraid/linit.c Fri Mar 14 08:04:51 2003
@@ -679,27 +679,26 @@
*/

static Scsi_Host_Template driver_template = {
- module: THIS_MODULE,
- name: "AAC",
- proc_info: aac_procinfo,
- detect: aac_detect,
- release: aac_release,
- info: aac_driverinfo,
- ioctl: aac_ioctl,
- queuecommand: aac_queuecommand,
- bios_param: aac_biosparm,
- slave_configure: aac_slave_configure,
- can_queue: AAC_NUM_IO_FIB,
- this_id: 16,
- sg_tablesize: 16,
- max_sectors: 128,
- cmd_per_lun: AAC_NUM_IO_FIB,
- eh_abort_handler: aac_eh_abort,
- eh_device_reset_handler:aac_eh_device_reset,
- eh_bus_reset_handler: aac_eh_bus_reset,
- eh_host_reset_handler: aac_eh_reset,
-
- use_clustering: ENABLE_CLUSTERING,
+ .module = THIS_MODULE,
+ .name = "AAC",
+ .proc_info = aac_procinfo,
+ .detect = aac_detect,
+ .release = aac_release,
+ .info = aac_driverinfo,
+ .ioctl = aac_ioctl,
+ .queuecommand = aac_queuecommand,
+ .bios_param = aac_biosparm,
+ .slave_configure = aac_slave_configure,
+ .can_queue = AAC_NUM_IO_FIB,
+ .this_id = 16,
+ .sg_tablesize = 16,
+ .max_sectors = 128,
+ .cmd_per_lun = 1,
+ .eh_abort_handler = aac_eh_abort,
+ .eh_device_reset_handler = aac_eh_device_reset,
+ .eh_bus_reset_handler = aac_eh_bus_reset,
+ .eh_host_reset_handler = aac_eh_reset,
+ .use_clustering = ENABLE_CLUSTERING,
};

#include "scsi_module.c"
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.026 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site