[lkml]   [1999]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Fixing the VIA rhine a bit
On Fri, 15 Oct 1999, Alan Cox wrote:

> Can someone with 2.3.22pre and a via rhine card test this out
> It should fix the memory allocation checks and also reserve memory space
> in MMIO mode

2.3.22pre2 does this to me:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-DCPU=586 -march=i586 -DEXPORT_SYMTAB -c ksyms.c
ksyms.c:367: `daemonize' undeclared here (not in a function)
ksyms.c:367: initializer element for `__ksymtab_daemonize.value' is not constant
make[2]: *** [ksyms.o] Error 1

Adding this to kernel/ksyms.c does the trick:
extern void daemonize(void);

Now the proper fix is ... ?

And to answer your question, my via rhine card (a D-Link DFE 530-TX
10/100, to answer that question as well) works fine with this patch. There
are some messages at startup, but none that weren't there before.

via-rhine.c:v1.01 2/27/99 Written by Donald Becker
eth0: VIA VT3043 Rhine at 0xfc80, 00:50:ba:a4:15:86, IRQ 11.
eth0: MII PHY found at address 8, status 0x782d advertising 05e1 Link 0000.
PCI latency timer (CFLT) is unreasonably low at 32. Setting to 64 clocks.

It still prints 8 extra "detection" lines:
via-rhine.c:v1.01 2/27/99 Written by Donald Becker

I believe Donald Becker expressed some thoughts on that before.


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 13:54    [W:0.045 / U:6.144 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site