Skip to contentSkip to conversation

e100: 'cu_start: timeout waiting for cu'

PATCH? Adam Kropelin 1 participant 1 message Jun 9, 2003 Network drivers

lore
Share & tools
lore
#0 lore raw

e100 version 2.3.13-k1 added in 2.5.70 does not work in my system (dual ppro, eepro100b card). dmesg says:

e100: eth0: cu_start: timeout waiting for cu

I tracked the problem to the reset changes in e100_phy.c. The patch below solves the problem for me, as does removing the new e100_phy_reset() call altogether. I've little clue what the right fix is, so this may be totally bogus.

--Adam

drivers/net/e100/e100_phy.c +1 -1
@@ -919,6 +919,7 @@
 unsigned char __devinit
 e100_phy_init(struct e100_private *bdp)
 {
+	e100_phy_reset(bdp);
 	e100_phy_address_detect(bdp);
 	e100_phy_isolate(bdp);
 	e100_phy_id_detect(bdp);
@@ -930,7 +931,6 @@
 	bdp->PhyDelay = 0;
 	bdp->zlock_state = ZLOCK_INITIAL;
 
-	e100_phy_reset(bdp);
 	e100_phy_set_speed_duplex(bdp, false);
 	e100_fix_polarity(bdp);