[U-Boot] Disabling Autonegotiation
priyanka sharma
priyanka321 at gmail.com
Tue Jun 9 10:19:58 CEST 2015
Hi ,
I am trying to disable auto negotiation in U-boot.
I modified
drivers/net/phy/phy.c
setting
dev->autoneg = AUTONEG_DISABLE;.
Autonegotion is disabled but u-boot however waits for autonegotiation
to complete in the function "genphy_update_link( )"
Modifying the values of BMCR_ANENABLE BMSR_ANEGCAPABLE in
include/linux/mii.h resolves the issue. Since am new to u-boot programming
wanted to know if modifying these macros is advisable or if there is a
better approach to this issue.
TIA
More information about the U-Boot
mailing list