update idl4k kernel from firmware version 1.17.0.120
This commit is contained in:
parent
e9070cdc77
commit
810bf474cd
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user