* [PATCH] minor bug fix in sym53c8xx_2
@ 2002-12-13 16:36 Alex Tomas
0 siblings, 0 replies; only message in thread
From: Alex Tomas @ 2002-12-13 16:36 UTC (permalink / raw)
To: linux-kernel
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-13 16:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-13 16:36 [PATCH] minor bug fix in sym53c8xx_2 Alex Tomas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.