[lkml]   [2000]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: 3c985 (aka acenic) gigabit support broken in test9pre7?
Jes Sorensen wrote:
> >>>>> "Olivier" == Olivier Galibert <> writes:
> Olivier> I compiled in the support for the 3c985, but, somehow, the
> Olivier> kernel does not seem to see the card.
> Olivier> Dual p3, asus p2b-d motherboard, test9pre7+reiserfs.
> Are you sure the drivers/net/acenic.o file got compiled and linked
> into the kernel? You are compiling everything statically which is a
> problem on the x86 in particular when using the acenic driver as it
> has a fairly large firmware image attached. Try compiling it as a
> loadable module.

The module_init() and module_exit() are inside `#ifdef MODULE'. So if
the driver is statically linked it doesn't register any initcalls. It
won't do anything.

--- linux-2.4.0-test9-pre7/drivers/net/acenic.c Tue Sep 26 21:45:30 2000
+++ linux-akpm/drivers/net/acenic.c Thu Sep 28 22:50:13 2000
@@ -733,7 +733,6 @@

-#ifdef MODULE
#if (LINUX_VERSION_CODE < 0x02032a)
int init_module(void)
@@ -748,7 +747,6 @@
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at
 \ /
  Last update: 2005-03-22 12:38    [W:0.032 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site