|
|
@@ -15,7 +15,7 @@ Signed-off-by: Alex Marginean <[email protected]>
|
|
|
|
|
|
--- a/drivers/net/phy/aquantia/aquantia_main.c
|
|
|
+++ b/drivers/net/phy/aquantia/aquantia_main.c
|
|
|
-@@ -96,6 +96,29 @@
|
|
|
+@@ -97,6 +97,29 @@
|
|
|
#define AQR107_OP_IN_PROG_SLEEP 1000
|
|
|
#define AQR107_OP_IN_PROG_TIMEOUT 100000
|
|
|
|
|
|
@@ -45,7 +45,7 @@ Signed-off-by: Alex Marginean <[email protected]>
|
|
|
static int aqr107_get_sset_count(struct phy_device *phydev)
|
|
|
{
|
|
|
return AQR107_SGMII_STAT_SZ;
|
|
|
-@@ -202,6 +225,51 @@ static int aqr_config_aneg(struct phy_de
|
|
|
+@@ -203,6 +226,51 @@ static int aqr_config_aneg(struct phy_de
|
|
|
return genphy_c45_check_and_restart_aneg(phydev, changed);
|
|
|
}
|
|
|
|
|
|
@@ -97,7 +97,7 @@ Signed-off-by: Alex Marginean <[email protected]>
|
|
|
static int aqr_config_intr(struct phy_device *phydev)
|
|
|
{
|
|
|
bool en = phydev->interrupts == PHY_INTERRUPT_ENABLED;
|
|
|
-@@ -854,7 +922,7 @@ static struct phy_driver aqr_driver[] =
|
|
|
+@@ -972,7 +1040,7 @@ static struct phy_driver aqr_driver[] =
|
|
|
PHY_ID_MATCH_MODEL(PHY_ID_AQR112),
|
|
|
.name = "Aquantia AQR112",
|
|
|
.probe = aqr107_probe,
|
|
|
@@ -106,7 +106,7 @@ Signed-off-by: Alex Marginean <[email protected]>
|
|
|
.config_intr = aqr_config_intr,
|
|
|
.handle_interrupt = aqr_handle_interrupt,
|
|
|
.get_tunable = aqr107_get_tunable,
|
|
|
-@@ -877,7 +945,7 @@ static struct phy_driver aqr_driver[] =
|
|
|
+@@ -995,7 +1063,7 @@ static struct phy_driver aqr_driver[] =
|
|
|
PHY_ID_MATCH_MODEL(PHY_ID_AQR412),
|
|
|
.name = "Aquantia AQR412",
|
|
|
.probe = aqr107_probe,
|