Re: epic100.c eth driver in 99-pre7

From: James H. Cloos Jr. (cloos@jhcloos.com)
Date: Tue May 09 2000 - 06:33:56 EST


Did more testing (this time w/ pre7-8).

(I missed this in pre7-6, but at compile time, gcc complains that
 epic_init and epic_cleanup are defined but not used.)

With debug=7, I got this:

: epic100.c:v1.04 8/23/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/epic100.html
: eth0: SMSC EPIC/100 83c170 at 0xb400, IRQ 17, 00:e0:29:1b:48:8a.
: eth0: EEPROM contents
: e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000
: e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000
: e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000
: e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000 e000
: eth0: MII transceiver #3 control 3000 status 7809.
: eth0: Autonegotiation advertising 01e1 link partner 0001.
: eth0: Setting half-duplex based on MII xcvr 3 register read of 0001.
: eth0: epic_open() ioaddr b400 IRQ 17 status 0512 half-duplex.
: eth0: Media selection tick, Tx status 00000003.
: eth0: Other registers are IntMask 733f IntStatus 248000 RxStatus 760021.
: eth0: interrupt interrupt=0x00258001 new intstat=0x00248000.
: In epic_rx(), entry 0 00001921.
: epic_rx() status was 00001921.
: eth0: interrupt interrupt=0x00248000 new intstat=0x00248000.
: eth0: exiting interrupt, intr_status=0x248000.
: eth0: interrupt interrupt=0x00258001 new intstat=0x00248000.
: In epic_rx(), entry 1 00001921.
: epic_rx() status was 00001921.
: epic_rx() status was 00001911.
: eth0: interrupt interrupt=0x00258401 new intstat=0x00248000.
: In epic_rx(), entry 3 ffff8000.
: eth0: interrupt interrupt=0x00248000 new intstat=0x00248000.
: eth0: exiting interrupt, intr_status=0x258401.
: eth0: interrupt interrupt=0x00258401 new intstat=0x00248000.
: In epic_rx(), entry 3 000019a1.
: epic_rx() status was 000019a1.

and continuing, sever entries per second.

Also, attempts to rmmod(8) the module produce an OOPS. Unfortunately,
although I had klogd -s running to catch it, it is not showing in the
logs. It is at least easily reproducable, if you have an epic card.
Happens every time w/o fail.

I'm now running pre7-8 w/ pre6's epic100.c. That does work.

-JimC (off to crash; been up too late tonight....)

-- 
James H. Cloos, Jr.  <URL:http://jhcloos.com/public_key> 1024D/ED7DAEA6 
<cloos@jhcloos.com>  E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
     Check out TGC:  <URL:http://jhcloos.com/go?tgc>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:13 EST