tulip.c broken in 2.1.79?

Jochen Buehler (jochen@amiga.chemie.uni-konstanz.de)
Tue, 13 Jan 1998 10:25:07 +0100


tulip.c fails to compile in 2.1.79:

gcc -D__KERNEL__ -I/mnt2/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -D__SMP__ -c -o tulip.o tulip.c
tulip.c:1095: warning: #warning Processor architecture undefined!
tulip.c:347: `RX_RING_SIZE' undeclared here (not in a function)
tulip.c:348: `TX_RING_SIZE' undeclared here (not in a function)
tulip.c:350: `TX_RING_SIZE' undeclared here (not in a function)
tulip.c:352: `RX_RING_SIZE' undeclared here (not in a function)
tulip.c: In function `tulip_probe':
tulip.c:444: `reverse_probe' undeclared (first use this function)
tulip.c:444: (Each undeclared identifier is reported only once
tulip.c:444: for each function it appears in.)
tulip.c: In function `tulip_probe1':
tulip.c:544: warning: type defaults to `int' in declaration of `type name'
tulip.c:657: `options' undeclared (first use this function)
tulip.c:657: `full_duplex' undeclared (first use this function)
tulip.c:663: `mtu' undeclared (first use this function)
tulip.c: In function `parse_eeprom':
tulip.c:770: warning: type defaults to `int' in declaration of `controller_index'
tulip.c: In function `tulip_timer':
tulip.c:1568: `full_duplex' undeclared (first use this function)
tulip.c: In function `tulip_init_ring':
tulip.c:1679: `RX_RING_SIZE' undeclared (first use this function)
tulip.c:1706: `TX_RING_SIZE' undeclared (first use this function)
tulip.c: In function `tulip_start_xmit':
tulip.c:1742: `TX_TIMEOUT' undeclared (first use this function)
tulip.c:1754: `TX_RING_SIZE' undeclared (first use this function)
tulip.c: In function `tulip_interrupt':
tulip.c:1836: `TX_RING_SIZE' undeclared (first use this function)
tulip.c: In function `tulip_rx':
tulip.c:2085: `RX_RING_SIZE' undeclared (first use this function)
tulip.c:2136: `rx_copybreak' undeclared (first use this function)
tulip.c: In function `tulip_close':
tulip.c:2275: `RX_RING_SIZE' undeclared (first use this function)
tulip.c:2288: `TX_RING_SIZE' undeclared (first use this function)
tulip.c: In function `set_multicast_list':
tulip.c:2406: `TX_RING_SIZE' undeclared (first use this function)
make[3]: *** [tulip.o] Error 1
make[3]: Leaving directory `/mnt2/linux/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/mnt2/linux/drivers/net'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/mnt2/linux/drivers'

[This is on a i686 SMP glibc2 machine with make=make -j3]

Any help on what's going on appreciated...

Regards

Jochen