From: Mark Haverkamp <markh@osdl.org>
To: Linus Torvalds <torvalds@transmeta.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
linux-scsi <linux-scsi@vger.kernel.org>
Subject: [Patch] aacraid driver for 2.5
Date: 14 Mar 2003 08:11:35 -0800 [thread overview]
Message-ID: <1047658294.7714.18.camel@markh1.pdx.osdl.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 240 bytes --]
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>
[-- Attachment #2: aacraid-2.5.64.diff --]
[-- Type: text/plain, Size: 1683 bytes --]
===== 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"
reply other threads:[~2003-03-14 16:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1047658294.7714.18.camel@markh1.pdx.osdl.net \
--to=markh@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®