public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Tony Battersby" <tonyb@cybernetics.com>
To: 'Marcelo Tosatti' <marcelo.tosatti@cyclades.com>
Cc: linux-scsi@vger.kernel.org
Subject: [PATCH 2.4] sym53c8xx_2 sniff inquiry fix
Date: Mon, 1 Nov 2004 16:26:02 -0500	[thread overview]
Message-ID: <04Nov1.162539est.333210@cyborg.cybernetics.com> (raw)

This is a resend of http://marc.theaimsgroup.com/?l=linux-scsi&m=108117878914404&w=2

The sym53c8xx_2 driver in lk 2.4.x is unmaintained.  This is a backported fix
from lk 2.6.x for a problem with sniffing inquiry data incorrectly resulting
in Ultra 160 negotiation being disabled for some devices.  Please apply.

--- linux-2.4.26-vanilla/drivers/scsi/sym53c8xx_2/sym_misc.c	Fri Nov  9 18:22:54 2001
+++ linux-2.4.26-asp/drivers/scsi/sym53c8xx_2/sym_misc.c	Wed Apr 28 14:02:41 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-11-01 21:25 UTC|newest]

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

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=04Nov1.162539est.333210@cyborg.cybernetics.com \
    --to=tonyb@cybernetics.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.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