[tulip] Re: tulip digest, Vol 1 #410 - 3 msgs

David Choi david@mail.isthe1st.com
Sat Nov 10 02:12:00 2001


Hi, there, it worked.
I'm also Presario user, and my system is Presario 1700 XL 361.

Yes, I did with 2.4.14 kernel.
When you compile your kernel, please don't check Symmetric multi-processing 
support.

That is the reason why your tulip module didn't work.

The following is my Makefile

----- begin here -------

CC = gcc
OPTIONSCOMMON = -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O6 
-I/usr/src/linux/include -fomit-frame-pointer -fno-strength-reduce 
-fno-strict-aliasing -Wno-trigraphs -fno-common -pipe 
-mpreferred-stack-boundary=2 -march=i686 -DMODVERSIONS -include 
/usr/src/linux/include/linux/modversions.h

OPTIONSTULIP = $(OPTIONSCOMMON)
OPTIONSPCISN = $(OPTIONSCOMMON) -DEXPORT_SYMTAB

all:
    $(CC) $(OPTIONSTULIP) -c tulip.c -o tulip.o
    $(CC) $(OPTIONSPCISN) -c pci-scan.c
clean:
    rm -f *~ pci-scan.o tulip.o tulip_cb.o
install:
    cp pci-scan.o /lib/modules/`uname -r`/kernel/drivers/net/tulip
    cp tulip.o /lib/modules/`uname -r`/kernel/drivers/net/tulip

----- end here ----

David Choi Ph.D.
e-mail : david@mail.isthe1st.com
Tel : +82-11-309-4806