|
@@ -20,7 +20,7 @@ Signed-off-by: Birger Koblitz <[email protected]>
|
|
|
|
|
|
#define MDIO_PHYXS_VEND_IF_STATUS 0xe812
|
|
|
#define MDIO_PHYXS_VEND_IF_STATUS_TYPE_MASK GENMASK(7, 3)
|
|
|
-@@ -330,6 +332,49 @@ static int aqr107_read_rate(struct phy_d
|
|
|
+@@ -343,6 +345,49 @@ static int aqr107_read_rate(struct phy_d
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
@@ -70,7 +70,7 @@ Signed-off-by: Birger Koblitz <[email protected]>
|
|
|
static int aqr107_read_status(struct phy_device *phydev)
|
|
|
{
|
|
|
int val, ret;
|
|
|
-@@ -460,7 +505,7 @@ static void aqr107_chip_info(struct phy_
|
|
|
+@@ -473,7 +518,7 @@ static void aqr107_chip_info(struct phy_
|
|
|
build_id = FIELD_GET(VEND1_GLOBAL_RSVD_STAT1_FW_BUILD_ID, val);
|
|
|
prov_id = FIELD_GET(VEND1_GLOBAL_RSVD_STAT1_PROV_ID, val);
|
|
|
|
|
@@ -79,7 +79,7 @@ Signed-off-by: Birger Koblitz <[email protected]>
|
|
|
fw_major, fw_minor, build_id, prov_id);
|
|
|
}
|
|
|
|
|
|
-@@ -632,6 +677,24 @@ static struct phy_driver aqr_driver[] =
|
|
|
+@@ -645,6 +690,24 @@ static struct phy_driver aqr_driver[] =
|
|
|
.link_change_notify = aqr107_link_change_notify,
|
|
|
},
|
|
|
{
|
|
@@ -104,7 +104,7 @@ Signed-off-by: Birger Koblitz <[email protected]>
|
|
|
PHY_ID_MATCH_MODEL(PHY_ID_AQCS109),
|
|
|
.name = "Aquantia AQCS109",
|
|
|
.probe = aqr107_probe,
|
|
|
-@@ -657,6 +720,24 @@ static struct phy_driver aqr_driver[] =
|
|
|
+@@ -670,6 +733,24 @@ static struct phy_driver aqr_driver[] =
|
|
|
.ack_interrupt = aqr_ack_interrupt,
|
|
|
.read_status = aqr_read_status,
|
|
|
},
|
|
@@ -129,7 +129,7 @@ Signed-off-by: Birger Koblitz <[email protected]>
|
|
|
};
|
|
|
|
|
|
module_phy_driver(aqr_driver);
|
|
|
-@@ -667,8 +748,10 @@ static struct mdio_device_id __maybe_unu
|
|
|
+@@ -680,8 +761,10 @@ static struct mdio_device_id __maybe_unu
|
|
|
{ PHY_ID_MATCH_MODEL(PHY_ID_AQR105) },
|
|
|
{ PHY_ID_MATCH_MODEL(PHY_ID_AQR106) },
|
|
|
{ PHY_ID_MATCH_MODEL(PHY_ID_AQR107) },
|