public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Tony Battersby" <tonyb@cybernetics.com>
To: willy@debian.org
Cc: linux-scsi@vger.kernel.org
Subject: [PATCH 2.4] sym53c8xx_2 sniff inquiry fix
Date: Mon, 5 Apr 2004 11:24:13 -0400	[thread overview]
Message-ID: <04Apr5.112407edt.332198@cyborg.cybernetics.com> (raw)

The following patch fixes a problem where sym53c8xx_2 always sniffs a
value of 0x00 for inquiry byte 56, which breaks 160 MB/s negotiations.

I am working with lk 2.4.x; I don't know if this needs to be applied to
lk 2.6.x also.

--- drivers/scsi/sym53c8xx_2/sym_misc.c.orig	Mon Apr  5 11:03:28 2004
+++ drivers/scsi/sym53c8xx_2/sym_misc.c	Mon Apr  5 11:03:38 2004
@@ -315,7 +315,7 @@
 	 */
 	inq_byte56 = tp->inq_byte56;
 	if (inq_version >= 4 && inq_len > 56)
-		tp->inq_byte56 = inq_data[56];
+		inq_byte56 = inq_data[56];
 #if 0
 printf("XXXXXX [%d] inq_version=%x inq_byte7=%x inq_byte56=%x XXXXX\n",
 	inq_len, inq_version, inq_byte7, inq_byte56);



Anthony J. Battersby
Cybernetics


             reply	other threads:[~2004-04-05 15:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-05 15:24 Tony Battersby [this message]
2004-04-05 15:35 ` [PATCH 2.4] sym53c8xx_2 sniff inquiry fix Matthew Wilcox
  -- strict thread matches above, loose matches on Subject: below --
2004-11-01 21:26 Tony Battersby

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=04Apr5.112407edt.332198@cyborg.cybernetics.com \
    --to=tonyb@cybernetics.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=willy@debian.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