• Tim Hockin's avatar
    Link status detection fix for natsemi net driver. · 9a856acf
    Tim Hockin authored
    Apparently, the LSTATUS bit of BMSR latches low until a management read. 
    This causes ETHTOOL_GLINK to report no-link on the first read after the
    link is connected.  (damned QA people catch dumb stuff like this KNOWING
    I'll have to fix it).  This patch just forces GLINK to mdio_read() twice.
    9a856acf
natsemi.c 70.5 KB