[patch] Acenic tigon 1 support fix

Olivier Galibert (galibert@pobox.com)
Mon, 30 Apr 2001 17:01:39 -0400


A typo prevents the tigon 1 firmware to be included when tigon 1
support is active. Null pointer dereference in
ace_load_firmware->ace_copy as a result.

Patch trivial and even tested (aka, the module loads without oopsing
with a tigon 1 inside).

OG.

--- linux/drivers/net/acenic_firmware.h Tue Mar 6 22:28:33 2001
+++ linux-2.4.4/drivers/net/acenic_firmware.h Mon Apr 30 16:51:25 2001
@@ -17,7 +17,7 @@
#define tigonFwSbssLen 0x38
#define tigonFwBssAddr 0x00015dd0
#define tigonFwBssLen 0x2080
-#ifndef CONFIG_ACENIC_OMIT_TIGON_I
+#ifdef CONFIG_ACENIC_OMIT_TIGON_I
#define tigonFwText 0
#define tigonFwData 0
#define tigonFwRodata 0
-
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/