[tulip] Adaptec ANA-6944A/TX

Ron Reed RReed@ops.sgp.arm.gov
Wed Nov 7 10:11:01 2001


Here is the lspci -v:

03:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
        Subsystem: Cogent Data Technologies, Inc. ANA-6944A/TX Fast Ethernet
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at c000 [size=128]
        Memory at d9000000 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at <unassigned> [disabled] [size=256K]

03:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
        Flags: bus master, medium devsel, latency 32, IRQ 9
        I/O ports at c400 [size=128]
        Memory at d9001000 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at <unassigned> [disabled] [size=256K]

03:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
        Flags: bus master, medium devsel, latency 32, IRQ 5
        I/O ports at c800 [size=128]
        Memory at d9002000 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at <unassigned> [disabled] [size=256K]

03:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at cc00 [size=128]
        Memory at d9003000 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at <unassigned> [disabled] [size=256K]

As for the parse errors, I get the following:

/usr/src/linux/include/asm/spinlock.h:31: conflicting types for `spinlock_t'
/usr/src/linux/include/linux/spinlock.h:55: previous declaration of
`spinlock_t'
/usr/src/linux/include/asm/spinlock.h:73: parse error before `{'
/usr/src/linux/include/asm/spinlock.h:83: parse error before `void'
/usr/src/linux/include/asm/spinlock.h:98: parse error before `do'
/usr/src/linux/include/asm/spinlock.h:126: conflicting types for `rwlock_t'
/usr/src/linux/include/linux/spinlock.h:118: previous declaration of
`rwlock_t'
/usr/src/linux/include/asm/spinlock.h:151: parse error before `void'
/usr/src/linux/include/asm/spinlock.h:160: parse error before `void'

I do this command:

gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -O -c tulip.c

And it compiles, but when I try to insmod it, I get this:

tulip.o: unresolved symbol pci_drv_unregister
tulip.o: unresolved symbol pci_drv_register

Anything else you need?

Ron Reed