[tulip] Compaq Presario laptop and tulip PCMCIA card
Jesse F. Hughes
jesseh@cs.kun.nl
Sat Mar 9 09:09:01 2002
Donald Becker <becker@scyld.com> writes:
>
> Send the output of the new 'tulip-diag -ee' when you get a chance, just
> so that we can confirm the EEPROM contents look reasonable for a Centaur
> chip.
I was unable to compile the new driver for some reason. Here are the
error messages.
-------
cd /root/tulip/
gcc -DMODULE -I/usr/src/linux/include -Wall -Wstrict-prototypes -O6 -c tulip.c
tulip.c:179: parse error before string constant
tulip.c:179: warning: type defaults to `int' in declaration of `MODULE_LICENSE'
tulip.c:179: warning: function declaration isn't a prototype
tulip.c:179: warning: data definition has no type or storage class
tulip.c: In function `set_rx_mode':
tulip.c:3257: `NETIF_MSG_RXFILTER' undeclared (first use in this function)
tulip.c:3257: (Each undeclared identifier is reported only once
tulip.c:3257: for each function it appears in.)
Compilation exited abnormally with code 1 at Sat Mar 9 14:59:18
--------
I could, of course, comment out the MODULE_LICENSE line, but I don't
know how to fix the other error.
So, I'm using the tulip driver from pub/network, with the change you
suggested for my card. Here's the output from the diagnostic.
root@diogenes:~/tulip# ./tulip-diag -ee
tulip-diag.c:v2.10 3/08/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur (OEM CardBus) adapter at 0x800.
Comet duplex is reported in the MII status registers.
Transmit started, Receive started, half-duplex.
The Rx process state is 'Waiting for packets'.
The Tx process state is 'Idle'.
The transmit threshold is 128.
Comet MAC address registers 9a98e000 ffff05e2
Comet multicast filter 0000000040000000.
EEPROM 256 words, 8 address bits.
Ethernet MAC Station Address 00:e0:98:9a:e2:05.
Default connection type 'Autosense'.
PCI IDs Vendor 13d1 Device ab08 Subsystem 13d1 ab08
PCI min_grant 255 max_latency 255.
CSR18 power-up setting 0x80cc****.
EEPROM contents (256 words):
0x00: 0985 0002 0000 0000 e000 9a98 05e2 0000
0x08: 0000 0400 0000 0000 0000 0000 0000 0100
0x10: ab08 13d1 ab08 13d1 ffff 0202 0000 80cc
0x18: 0000 0000 0000 0000 0000 0000 0000 0000
0x20: 0000 0000 0000 0000 0000 0000 0000 0000
0x28: 0040 0060 0000 0000 0000 0000 0000 0000
0x30: 0000 0000 0000 0000 0000 0000 0000 0000
0x38: 0000 0000 0000 0000 0000 0000 0000 7945
0x40: ffff ffff ffff ffff ffff ffff ffff ffff
0x48: ffff ffff ffff ffff ffff ffff ffff ffff
0x50: ffff ffff ffff ffff ffff ffff ffff ffff
0x58: ffff ffff ffff ffff ffff ffff ffff ffff
0x60: ffff ffff ffff ffff ffff ffff ffff ffff
0x68: ffff ffff ffff ffff ffff ffff ffff ffff
0x70: ffff ffff ffff ffff ffff ffff ffff ffff
0x78: ffff ffff ffff ffff ffff ffff ffff ffff
0x80: ffff ffff ffff ffff ffff ffff ffff ffff
0x88: ffff ffff ffff ffff ffff ffff ffff ffff
0x90: ffff ffff ffff ffff ffff ffff ffff ffff
0x98: ffff ffff ffff ffff ffff ffff ffff ffff
0xa0: 0313 4943 2053 d104 0213 21ab 0602 2201
0xa8: 0102 2202 0205 9680 0098 0522 0002 f5e1
0xb0: 2205 0302 1501 0520 4300 7261 4264 7375
0xb8: 4600 7361 2074 7445 6568 6e72 7465 5600
0xc0: 2e31 0030 ff00 0400 0306 2a01 0000 0700
0xc8: 1106 0000 0001 0700 0206 0000 0001 0700
0xd0: 0706 0000 0002 0500 410a 0139 1eb5 b002
0xd8: fefc ff84 ff84 ffff ffff ffff ffff ffff
0xe0: ffff ffff ffff ffff ffff ffff ffff ffff
0xe8: ffff ffff ffff ffff ffff ffff ffff ffff
0xf0: ffff ffff ffff ffff ffff ffff ffff ffff
0xf8: ffff ffff ffff ffff ffff ffff ffff 00b6
ID block CRC 0xec (vs. 00).
Full contents CRC 0x7945 (read as 0x7945).
--
Jesse Hughes "I AM serious about this being a short route to a Ph.d
for some of you, but just remember, I'm the guy who proved Fermat's
Last Theorem in just a bit over 6 years [...] My standards are kind
of high." --James Harris, founding a new mathematical school