|
|
@@ -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)
|
|
|
-@@ -372,6 +374,49 @@ static int aqr107_read_rate(struct phy_d
|
|
|
+@@ -381,6 +383,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;
|
|
|
-@@ -502,7 +547,7 @@ static void aqr107_chip_info(struct phy_
|
|
|
+@@ -511,7 +556,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);
|
|
|
}
|
|
|
|
|
|
-@@ -674,6 +719,24 @@ static struct phy_driver aqr_driver[] =
|
|
|
+@@ -719,6 +764,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,
|
|
|
-@@ -699,6 +762,24 @@ static struct phy_driver aqr_driver[] =
|
|
|
+@@ -744,6 +807,24 @@ static struct phy_driver aqr_driver[] =
|
|
|
.handle_interrupt = aqr_handle_interrupt,
|
|
|
.read_status = aqr_read_status,
|
|
|
},
|
|
|
@@ -129,7 +129,7 @@ Signed-off-by: Birger Koblitz <[email protected]>
|
|
|
};
|
|
|
|
|
|
module_phy_driver(aqr_driver);
|
|
|
-@@ -709,8 +790,10 @@ static struct mdio_device_id __maybe_unu
|
|
|
+@@ -754,8 +835,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) },
|