AsanteFAST 10/100 NIC, Debian, Custom Kernel

Micah R L <[email protected]> 04 Jul 2003 14:18:51 -0500
Newsgroups gmane.linux.drivers.tulip.general
Message-ID <1057346331.26475.5.camel@water>
I recently accquired an old PowerComputing PowerBase180 PowerMac, and it
came with an AsanteFast 10/100 NIC. I've been working on a debian
install, and my latest glitch is as follows:
The card works.  It works under MacOS, and it works when I boot from the
2.2.20 debian kernel on a floppy. However, when I compile my own kernel,
there is *NO* tulip option. Being very annoyed at this, *and* noting
that there was a tulip directory in the drivers directory, I decided to
just "echo CONFIG_TULIP=m >> .config && make modules && make
modules_install". Hey, cool, no errors. But, when I try to insmod my
shiny new tulip module, it gives me the following errors:

        Using /lib/modules/2.4.20/kernel/drivers/net/tulip/tulip.o
        Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
        PCI: Enabling device 00:0e.0 (0014 -> 0017)
        tulip0: EEPROM default media type 10baseT.
        tulip0: Index #0 - Media 10baseT (#0) described by a 21140
        non-MII (0) block. 
        tulip0: Index #1 - Media 100baseTx (#3) described by a 21140
        non-MII (0) block. 
        tulip0: Index #2 - Media 10baseT-FDX (#4) described by a 21140
        non-MII (0) block. 
        tulip0: Index #3 - Media 100baseTx-FDX (#5) described by a 21140
        non-MII (0) block. 
        tulip0: ***WARNING***: No MII transceiver found!
        eth0: Digital DS21140 Tulip rev 34 at 0x1000, 00:00:94:7A:A5:00,
        IRQ 25.

and still nothing is present in /dev (I have devfs turned on; it should
just show up). 

Grr. So, I reboot using my boot floppy to get network access, and I go
download ftp.scyld.com/pub/diag/diag.tgz. Fantastic. I type make, and it
says:

        cc -O -Wall -Wstrict-prototypes -DLIBFLASH -DLIBMII   -c -o
        libflash.o libflash.c
        libflash.c:60:20: sys/io.h: No such file or directory
        libflash.c: In function `flash_out':
        libflash.c:112: warning: implicit declaration of function `outl'
        libflash.c:113: warning: implicit declaration of function `outb'
        libflash.c: In function `flash_in':
        libflash.c:120: warning: implicit declaration of function `inb'
        make: *** [libflash.o] Error 1
        
And so now, I don't know what to do. If I left out any necesary info
bits, let me know. Thanks.

- micah

_______________________________________________
tulip mailing list, [email protected]
To change to digest mode or unsubscribe visit
http://www.scyld.com/mailman/listinfo/tulip