--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
-@@ -706,7 +706,10 @@ static int phy_check_link_status(struct
+@@ -734,7 +734,10 @@ static int phy_check_link_status(struct
phy_link_up(phydev);
} else if (!phydev->link && phydev->state != PHY_NOLINK) {
phydev->state = PHY_NOLINK;
}
return 0;
-@@ -1192,7 +1195,10 @@ void phy_state_machine(struct work_struc
+@@ -1220,7 +1223,10 @@ void phy_state_machine(struct work_struc
case PHY_HALTED:
if (phydev->link) {
phydev->link = 0;
break;
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
-@@ -622,6 +622,7 @@ struct phy_device {
+@@ -630,6 +630,7 @@ struct phy_device {
unsigned downshifted_rate:1;
unsigned is_on_sfp_module:1;
unsigned mac_managed_pm:1;