mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alex Tomas <bzzz@tmi.comex.ru>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] minor bug fix in sym53c8xx_2
Date: 13 Dec 2002 19:36:08 +0300	[thread overview]
Message-ID: <m37kedzxjb.fsf@lexa.home.net> (raw)


Good day!

There is minor bug in sym53c8xx_2. Because of it you may not
exclude some HBA from scanning. Thus, kernel parameter
sym53c8xx=excl:0xe400 won't work. Please, apply path:

--- linux-2.5.51/drivers/scsi/sym53c8xx_2/sym_glue.c	Fri Dec 13 19:30:27 2002
+++ linux-2.5.51n/drivers/scsi/sym53c8xx_2/sym_glue.c	Fri Dec 13 19:23:48 2002
@@ -2481,7 +2487,8 @@
 	 */
 	if (base_io) {
 		for (i = 0 ; i < 8 ; i++) {
-			if (sym_driver_setup.excludes[i] == base_io)
+			if (sym_driver_setup.excludes[i] ==
+			    (base_io & PCI_BASE_ADDRESS_IO_MASK))
 				return -1;
 		}
 	}

sym53c8xx_2 in 2.4 has this bug too and this patch may by applied.


                 reply	other threads:[~2002-12-13 16:34 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=m37kedzxjb.fsf@lexa.home.net \
    --to=bzzz@tmi.comex.ru \
    --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®