smc ezcard 10/100 boards, rtl8139 and diag

Marty Leisner leisner@rochester.rr.com
Thu Dec 24 21:44:57 1998


I just spent about an hour trying to figure out where inb
came from...(I didn't read the caveat about compiling with -O).

I understand the SMC EZcard 10/100 uses the chip with this driver
(the ethernet address it reports is right, it isn't working (yet) and
the other information seems to be wrong...

(someone said this on comp.os.linux.hardware, I have no idea how he
knows...the chip says SMC #####)

Well, this is better than nothing...it works with gnuc...(is that the
only compiler we're supposed to use?)

: leisner@dw;rcsdiff -u rtl8139-diag.c
===================================================================
RCS file: RCS/rtl8139-diag.c,v
retrieving revision 1.1
diff -u -r1.1 rtl8139-diag.c
--- rtl8139-diag.c      1998/12/25 02:35:59     1.1
+++ rtl8139-diag.c      1998/12/25 02:36:27
@@ -38,6 +38,10 @@
 extern monitor_mii(int ioaddr, int phy_id);
 #endif
 
+#ifndef __OPTIMIZE__
+#error you need to turn on the optimizer
+#endif
+
 #define udelay(microsecs)      do { int _i = microsecs<<1; while (--_i > 0) { __SLOW_DOWN_IO; }} while (0)
 
 struct option longopts[] = {


Anyone, here's what I'm seeing when I boot (I'm using linux 2.0.36 [redhat 2.0.36]

Dec 24 19:18:08 hp kernel: rtl8139.c:v1.04 9/22/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html
Dec 24 19:18:08 hp kernel: eth0: RealTek RTL8139 Fast Ethernet (mislabeled) at 0xf480, IRQ 255, 00:e0:29:1c:a4:f1.

Marty Leisner
leisner@rochester.rr.com
 | To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
 |  body of the mail, include only the text:
 |   unsubscribe this-list-name youraddress@wherever.org
 | You will be unsubscribed as speedily as possible.