3c59x driver

Robert Montgomery robert.l.montgomery@home.com
Fri Jan 22 22:32:12 1999


Ok, I've received a few responses about my 3C900 card and from what
I've read on the vortex page, I decided I should try to re-compile the
kernel with the new source for the 3c59x driver, which I picked up off
the vortex page...  Basically, I just replaced the 3c59x.c file in the
/usr/src/linux/drivers/net directory, went back to the /usr/source/linux

directory, did a "make dep", then a "make clean", and finally a
"make zImage", only to have it fail when compiling the new driver
source.  I also tried compiling it by itself with the compile command
given at the end of the source and got the same compile errors...
The following is what came out of the "make zImage":

make[2]: Entering directory `/usr/src/linux-2.0.36/drivers/net'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.0.36/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux-2.0.36/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c
-o 3c59x.o 3c59x.c
3c59x.c:94: parse error before `<'
3c59x.c: In function `vortex_probe1':
3c59x.c:879: stray '\' in program
3c59x.c:879: parse error before `;'
3c59x.c:926: `mii_preamble_required' undeclared (first use this
function)
3c59x.c:926: (Each undeclared identifier is reported only once
3c59x.c:926: for each function it appears in.)
3c59x.c: In function `mdio_read':
3c59x.c:2047: `mii_preamble_required' undeclared (first use this
function)
3c59x.c: In function `mdio_write':
3c59x.c:2079: `mii_preamble_required' undeclared (first use this
function)
make[3]: *** [3c59x.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.0.36/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.0.36/drivers/net'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.36/drivers'
make: *** [linuxsubdirs] Error 2

Anyone have any ideas?

Thanks,
Rob