|
|
@@ -1,6 +1,6 @@
|
|
|
--- a/drivers/net/phy/at803x.c
|
|
|
+++ b/drivers/net/phy/at803x.c
|
|
|
-@@ -478,12 +478,15 @@ static void at803x_link_change_notify(st
|
|
|
+@@ -458,12 +458,15 @@ static void at803x_link_change_notify(st
|
|
|
|
|
|
static int at803x_aneg_done(struct phy_device *phydev)
|
|
|
{
|
|
|
@@ -16,7 +16,7 @@
|
|
|
/*
|
|
|
* in SGMII mode, if copper side autoneg is successful,
|
|
|
* also check SGMII side autoneg result
|
|
|
-@@ -498,7 +501,8 @@ static int at803x_aneg_done(struct phy_d
|
|
|
+@@ -478,7 +481,8 @@ static int at803x_aneg_done(struct phy_d
|
|
|
/* check if the SGMII link is OK. */
|
|
|
if (!(phy_read(phydev, AT803X_PSSR) & AT803X_PSSR_MR_AN_COMPLETE)) {
|
|
|
pr_warn("803x_aneg_done: SGMII link is not ok\n");
|