lkml.org 
[lkml]   [2002]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] minor bug fix in sym53c8xx_2
From
Date

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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.103 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site