Link status detection fix for natsemi net driver.
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.
Showing
Please register or sign in to comment