[realtek] timeout problem with 8139too.c

xin chen mylanchen@yahoo.com
Tue Feb 5 04:50:01 2002


Hi,all,
my 8139c ethernet card still cannot work. But after
some modifications, the error messages looks like:
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0d 0000 media 00.

Sometimes the abnormal interrupt status is 0x0002,
sometimes it's 0x0040. Besides these two status, the
interrupt status can be 0x0000, but receive buffer is
empty.

eth0: In rtl8139_rx(), current 0000 BufAddr 0000, free
to fff0, Cmd 0d.
eth0: Done rtl8139_rx(), current 0000 BufAddr 0000,
free to fff0, Cmd 0d.

What's the problem?

Also, the following messages appears several times:
eth0: Media selection tick, Link partner 45e1.
eth0:  Other registers are IntMask c07f IntStatus 0000
RxStatus d000000.
eth0:  Chip config 12 ad.

I looked for the meaning of RxEarlyStatus in the
rtl8139c specifications,it is a 8bits (1 byte)
register, so why it is read by RTL_R32
(RxEarlyStatus), and printed by %4.4lx? (in 0.9.15c
8139too.c)

Thank you in advance

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com