[tulip] Netgear FA310-TX NIC problems
Thomas Dodd
ted@cypress.com
Fri, 14 Jul 2000 10:53:03 -0500
Donald Becker wrote:
>
> On Mon, 10 Jul 2000, A.J. Rossini wrote:
> > Thoughts? I've been running the drivers from the 2.2.17pre kernel
> You should try v92.
> http://www.scyld.com/network/tulip.html
> ftp://www.scyld.com/pub/network/tulip.c
>
I grabbed 0.92 and pluged it int my 2.2.16 kernel tree
(redhat rpm release -8 ). It will not build.
I get cannot find pci-scan.h or kern_compat.h
with the line gcc command in the file.
If I do 'make modules' I get lot's of errors.
make[2]: Entering directory `/usr/src/linux-2.2.16/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-alias
ing -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=686 -DMODULE -D
MODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o
tulip.o tulip.c
tulip.c:161: pci-scan.h: No such file or directory
tulip.c:162: kern_compat.h: No such file or directory
tulip.c:322: elements of array `pci_id_tbl' have incomplete type
tulip.c:323: warning: excess elements in struct initializer after
`pci_id_tbl[0]'
tulip.c:323: extra brace group at end of initializer for `pci_id_tbl[0]'
tulip.c:323: warning: excess elements in struct initializer after
`pci_id_tbl[0]'
tulip.c:324: `PCI_USES_MASTER' undeclared here (not in a function)
tulip.c:324: `PCI_USES_MEM' undeclared here (not in a function)
tulip.c:324: `PCI_ADDR1' undeclared here (not in a function)
lot's of times. Where is pci-scan.h and kern_compat supposed to
be and where do they come from?
-Thomas