Tulip Update

Bob recbo@erols.com
Sat Nov 20 04:36:52 1999


--------------7E931B62472A3CE7E49F71DD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


--------------7E931B62472A3CE7E49F71DD
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

Jason Kendall wrote:
I was just wondering if I could get some feedback on the tulip update. Is it working for everyone? did the right people get it? Thanks,Jason A. Kendall
 Here is the changes necessary for tulip.c ver 0.91g to work with newer Kernels. If you get the error: dereferencing pointer to incomplete typeANDin line 606: structure has no member named `base_address' then patch -p0 tulip.c < this_textfile --- CUT HERE --- diff 5/tulip.c 4/tulip.c
19a20,21
> #define device net_device
>
606c608
<    ioaddr = pdev->base_address[0] & ~3;
---
>    ioaddr = pdev->resource[0].start /* & ~3*/;--- CUT HERE --- Later,Jason A. Kendall
I'm using 0.91u and kernel 2.2.13 linksys PNIC2. I modified
the kernel source's  /usr/src/linux/drivers/net/Makefile
according to the instructions in tulip files' README so
tulip.o will compile when the rest of the modules are made.

ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3

   README
   k_compat.h
   kern_compat.h
   pci-netif.c
   pci-netif.h
   cb_shim.c

To modify the kernel source's Makefile so tulip.o will link
along with the rest of the modules, I use gawk--

cat  /usr/src/linux/drivers/net/Makefile | \
gawk --source '{ if ( $3 ~ /auto_irq.o/ ) \
print $1 "   " $2 "  " $3 " pci-netif.o" ; else print $0 }' >/tmp/t.tmp

mv /tmp/t.tmp /usr/src/linux/drivers/net/Makefile

-Bob --------------7E931B62472A3CE7E49F71DD--