Skip to contentSkip to conversation

minor bug fix in sym53c8xx_2

PATCH New Alex Tomas 1 participant 1 message Dec 13, 2002

Subsystems (2)
lore
Share & tools
lore

Alex Tomas

author
#0 lore raw

PATCH 1/1 minor bug fix in sym53c8xx_2

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:

drivers/scsi/sym53c8xx_2/sym_glue.c +2 -1
@@ -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.