[PATCH] minor bug fix in sym53c8xx_2

From: Alex Tomas (bzzz@tmi.comex.ru)
Date: Fri Dec 13 2002 - 11:36:08 EST


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/



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:29 EST