[PATCH] Re: [MINOR PROBLEM] RTL8139C: transmit timed out

Masaru Kawashima (masaruk@gol.com)
Sat, 14 Jul 2001 03:21:46 +0900


This is a multi-part message in MIME format.

--Multipart_Sat__14_Jul_2001_03:21:46_+0900_094006c8
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi!

> Jul 12 20:36:43 wiibroe kernel: NETDEV WATCHDOG: eth0: transmit timed out

I had the same problem with linux-2.4.6-ac2, and I found a bug
in the function rtl8139_start_xmit() of 8139too.c.

Attached patch will fix this bug.

Enjoy!

--
Masaru Kawashima <masaruk@gol.com>

--Multipart_Sat__14_Jul_2001_03:21:46_+0900_094006c8 Content-Type: text/plain; name="8139too.patch" Content-Disposition: attachment; filename="8139too.patch" Content-Transfer-Encoding: base64

LS0tIGRyaXZlcnMvbmV0LzgxMzl0b28uYy5vcmlnCVdlZCBKdWwgIDQgMTQ6MzQ6MjcgMjAwMQor KysgZHJpdmVycy9uZXQvODEzOXRvby5jCVNhdCBKdWwgMTQgMDI6MzQ6NTAgMjAwMQpAQCAtMTcz Miw3ICsxNzMyLDYgQEAKIAlSVExfVzMyX0YgKFR4QWRkcjAgKyAoZW50cnkgKiA0KSwgZG1hX2Fk ZHIpOwogCVJUTF9XMzJfRiAoVHhTdGF0dXMwICsgKGVudHJ5ICogc2l6ZW9mICh1MzIpKSwKIAkJ ICAgdHAtPnR4X2ZsYWcgfCAoc2tiLT5sZW4gPj0gRVRIX1pMRU4gPyBza2ItPmxlbiA6IEVUSF9a TEVOKSk7Ci0Jc3Bpbl91bmxvY2tfaXJxKCZ0cC0+bG9jayk7CiAKIAlkZXYtPnRyYW5zX3N0YXJ0 ID0gamlmZmllczsKIApAQCAtMTc0MCw2ICsxNzM5LDcgQEAKIAltYigpOwogCWlmICgodHAtPmN1 cl90eCAtIE5VTV9UWF9ERVNDKSA9PSB0cC0+ZGlydHlfdHgpCiAJCW5ldGlmX3N0b3BfcXVldWUg KGRldik7CisJc3Bpbl91bmxvY2tfaXJxKCZ0cC0+bG9jayk7CiAKIAlEUFJJTlRLICgiJXM6IFF1 ZXVlZCBUeCBwYWNrZXQgYXQgJXAgc2l6ZSAldSB0byBzbG90ICVkLlxuIiwKIAkJIGRldi0+bmFt ZSwgc2tiLT5kYXRhLCBza2ItPmxlbiwgZW50cnkpOwo=

--Multipart_Sat__14_Jul_2001_03:21:46_+0900_094006c8-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/