This one-liner fixes a subtle 21143 autonegotiation problem for me on a Zynx
quad card. The driver would claim to negotiate 100-FD, but would report late
collisions and bad transmit throughput.
The driver still allows packets to be transmitted during autonegotiation,
but that only drops a few packets.
skd
--- 21142.c.bad Sun Jan 28 15:26:25 2001
+++ 21142.c Sun Jan 28 11:51:59 2001
@@ -171,7 +171,7 @@
for (i = 0; i < tp->mtable->leafcount; i++)
if (tp->mtable->mleaf[i].media == dev->if_port) {
tp->cur_index = i;
- tulip_select_media(dev, 0);
+ tulip_select_media(dev, 1);
setup_done = 1;
break;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/