Skip to contentSkip to conversation

tulip autonegotiation patch

PATCH Stephen Degler 1 participant 1 message Jan 28, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

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 renamed from 21142.c.bad +1 -1
@@ -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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/