update idl4k kernel from firmware version 1.17.0.120

This commit is contained in:
Jaroslav Kysela 2015-03-26 17:25:38 +01:00
parent e9070cdc77
commit 810bf474cd

View File

@ -56,6 +56,13 @@ int rtl821x_read_status(struct phy_device *phydev)
{ {
int value; int value;
value = phy_read(phydev, RTL821x_INSR);
if (value&(1<<8))
{
/* false carrier detected - restarting auto negotiation */
genphy_restart_aneg(phydev);
}
value = phy_read(phydev, RTL821x_PHYCR); value = phy_read(phydev, RTL821x_PHYCR);
if (phydev->speed == SPEED_1000) if (phydev->speed == SPEED_1000)