Skip to contentSkip to conversation

beagle_x15: increase phy autoneg timeout

PATCH New Sekhar Nori 2 participants 3 messages Mar 10, 2015 – Mar 15, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 beagle_x15: increase phy autoneg timeout

When Beagle X15 is connected to Gigabit switch, it takes more time to finish auto-negotiation than on a 10/100 switch.

The default 4 second limit times-out more often than not. This is observed when testing with a D-Link DGS-1008A desktop switch.

Increase the auto-negotiation time-out for Beagle-X15 to handle this case.

---
 include/configs/beagle_x15.h |    1 +
 1 file changed, 1 insertion(+)
include/configs/beagle_x15.h +1 -0
index c7719f389a64..4aa855092110 100644
@@ -59,6 +59,7 @@
 #define CONFIG_MII			/* Required in net/eth.c */
 #define CONFIG_PHY_GIGE			/* per-board part of CPSW */
 #define CONFIG_PHYLIB
+#define PHY_ANEG_TIMEOUT	8000	/* PHY needs longer aneg time at 1G */
 
 #define CONFIG_SUPPORT_EMMC_BOOT
 
Signature · 1 line
1.7.10.1
#1 lore raw

PATCH 1/1 beagle_x15: increase phy autoneg timeout

Quoted 10 lines · Sekhar Nori

When Beagle X15 is connected to Gigabit switch, it takes more time to finish auto-negotiation than on a 10/100 switch.

The default 4 second limit times-out more often than not. This is observed when testing with a D-Link DGS-1008A desktop switch.

Increase the auto-negotiation time-out for Beagle-X15 to handle this case.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150310/9a840fcd/attachment.sig>
#2 lore raw

PATCH 1/1 beagle_x15: increase phy autoneg timeout

In reply to Sekhar Nori
Quoted 11 lines · Sekhar Nori

When Beagle X15 is connected to Gigabit switch, it takes more time to finish auto-negotiation than on a 10/100 switch.

The default 4 second limit times-out more often than not. This is observed when testing with a D-Link DGS-1008A desktop switch.

Increase the auto-negotiation time-out for Beagle-X15 to handle this case.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150315/31e2d99e/attachment.sig>