[vortex] 3c59x.c and Linux 1.2.13.

Torbjorn Pettersson wowie@pi.nxs.se
Thu Nov 22 10:40:01 2001


Hello.

I would like to use the vortexdriver with the Linux 1.2.13 kernel.
I have found a few emails about it searching altavista but all 
the links to patches and drivers are dead :/

I finaly found a file called vortex_patch at ftp.tdl.com, its for
1.2.13 and adds support to compile a 3c59x.c into the kernel.
My problem now is that no version of the 3c59x.c that I have
tried compiles.

I have tested 0.24, 0.46 and 0.99 .. 

I have found reports of 0.49 working with the 1.2.13 kernel, but I am
unable to find that version.

Below is a transcript of the compile-error:

gcc -D__KERNEL__ -I/usr/src/linux-1.2.13/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -m486 -I../../net/inet -c 3c59x.c
3c59x.c: In function `vortex_scan':
3c59x.c:548: warning: passing arg 4 of `pcibios_read_config_dword' from
incompatible pointer type
3c59x.c: In function `vortex_found_device':
3c59x.c:692: warning: implicit declaration of function `init_etherdev'
3c59x.c:692: warning: assignment makes pointer from integer without a cast
3c59x.c: In function `vortex_open':
3c59x.c:1056: warning: implicit declaration of function `dev_alloc_skb'
3c59x.c:1056: warning: assignment makes pointer from integer without a
cast
3c59x.c:1061: warning: implicit declaration of function `skb_reserve'
3c59x.c:1062: structure has no member named `tail'
3c59x.c: In function `vortex_tx_timeout':
3c59x.c:1221: warning: unsigned int format, long unsigned int arg (arg 4)
3c59x.c:1221: warning: unsigned int format, long unsigned int arg (arg 5)
---SNIPP--- (and so on...)

If anyone could help me with this I would be very greatfull.
A patch, a .c-file or a complete kernel, anything will do!

/Torbjorn Pettersson