public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] Acenic tigon 1 support fix
@ 2001-04-30 21:01 Olivier Galibert
  2001-05-10 18:59 ` Jes Sorensen
  0 siblings, 1 reply; 4+ messages in thread
From: Olivier Galibert @ 2001-04-30 21:01 UTC (permalink / raw)
  To: linux-acenic, linux-kernel, torvalds

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-05-13 13:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-30 21:01 [patch] Acenic tigon 1 support fix Olivier Galibert
2001-05-10 18:59 ` Jes Sorensen
2001-05-10 20:11   ` Olivier Galibert
2001-05-13 13:53     ` Jes Sorensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox