From: Leslie Donaldson <donaldlf@hermes.cs.rose-hulman.edu>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>, linux-kernel@vger.kernel.org
Subject: Patch for aic7xxx 2.4.0 test12 hang
Date: Fri, 19 Jan 2001 11:40:16 -0600 [thread overview]
Message-ID: <3A687C00.FAD6FFBE@mailhost.cs.rose-hulman.edu> (raw)
This is a temporary patch to keep the scsi driver from eating
your data.... I am working on a real fix....
Leslie Donaldson
*** linux/drivers/scsi/aic7xxx.c.2.4.0-12 Sat Jan 6 21:55:47 2001
--- linux/drivers/scsi/aic7xxx.c Sat Jan 6 22:08:12 2001
***************
*** 7073,7078 ****
--- 7073,7092 ----
else
{
+ if(((strcmp("Adaptec AIC-7892 Ultra 160/m SCSI host
adapter",board_names[p->board_name_index])) == 0 ) ||
+ ((strcmp("Adaptec AIC-7899 Ultra 160/m SCSI host
adapter",board_names[p->board_name_index])) == 0 ))
+ {
+ /* The TCQ code for 160M devices is BROKEN */
+ /* This is a quick, dirty, sad fix until I have time for a
better */
+ /* one. We do it this way in case the driver is supporting
two seperate */
+ /* styles of scsi chipsets... I do have two boards so it
does happen */
+ tag_enabled = FALSE;
+ device->queue_depth = 3; /* Tagged queueing is disabled. */
+ printk(INFO_LEAD "DISABLED TAGGED QUEUING, queue depth
%d.\n",
+ p->host_no, device->channel, device->id,
+ device->lun, 0);
+ }
+ else
if (aic7xxx_tag_info[p->instance].tag_commands[tindex] == 255)
{
tag_enabled = FALSE;
--
/----------------------------\ Current Contractor: None
| Leslie F. Donaldson | Current Customer : None
| Computer Contractor | Skills:
Unix/OS9/VMS/Linux/SUN-OS/C/C++/assembly
| Have Computer will travel. | WWW :
http://www.cs.rose-hulman.edu/~donaldlf
\----------------------------/ Email: mail://donaldlf@cs.rose-hulman.edu
Goth Code V1.1: GoCS$$ TYg(T6,T9) B11Bk!^1 C6b-- P0(1,7) M+ a24 n---
b++:+
H6'11" g m---- w+ r+++ D--~!% h+ s10 k+++ R-- Ssw
LusCA++
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2001-01-19 17:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-19 17:40 Leslie Donaldson [this message]
2001-01-19 17:56 ` Justin T. Gibbs
2001-01-19 18:05 ` Leslie Donaldson
2001-01-19 21:00 ` Jeff Hartmann
2001-01-20 2:48 ` Leslie Donaldson
2001-01-22 5:30 ` Leslie Donaldson
2001-01-22 16:15 ` Gregory McLean
2001-01-25 3:02 ` Justin T. Gibbs
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=3A687C00.FAD6FFBE@mailhost.cs.rose-hulman.edu \
--to=donaldlf@hermes.cs.rose-hulman.edu \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/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®