diff options
Diffstat (limited to 'firmware/x300/lib/ethernet.c')
-rw-r--r-- | firmware/x300/lib/ethernet.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/x300/lib/ethernet.c b/firmware/x300/lib/ethernet.c index 806a3840d..fdde9e41b 100644 --- a/firmware/x300/lib/ethernet.c +++ b/firmware/x300/lib/ethernet.c @@ -336,9 +336,8 @@ xge_phy_init(const uint8_t eth, const uint32_t mdio_port) x = read_mdio(eth, 0x0, XGE_MDIO_DEVICE_PMA,mdio_port); x = x | (1 << 15); write_mdio(eth, 0x0,XGE_MDIO_DEVICE_PMA,mdio_port,x); - //FIXME uncomment lines below when 1gigE MDIO works - //while(x&(1<<15)) - // x = read_mdio(eth, 0x0,XGE_MDIO_DEVICE_PMA,mdio_port); + while(x&(1<<15)) + x = read_mdio(eth, 0x0,XGE_MDIO_DEVICE_PMA,mdio_port); } void |