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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to