|
20 | 20 |
|
21 | 21 | #define MDIO_PHYXS_VEND_IF_STATUS 0xe812
|
22 | 22 | #define MDIO_PHYXS_VEND_IF_STATUS_TYPE_MASK GENMASK(7, 3)
|
23 |
| -@@ -372,6 +374,49 @@ static int aqr107_read_rate(struct phy_d |
| 23 | +@@ -381,6 +383,49 @@ static int aqr107_read_rate(struct phy_d |
24 | 24 | return 0;
|
25 | 25 | }
|
26 | 26 |
|
|
70 | 70 | static int aqr107_read_status(struct phy_device *phydev)
|
71 | 71 | {
|
72 | 72 | int val, ret;
|
73 |
| -@@ -502,7 +547,7 @@ static void aqr107_chip_info(struct phy_ |
| 73 | +@@ -511,7 +556,7 @@ static void aqr107_chip_info(struct phy_ |
74 | 74 | build_id = FIELD_GET(VEND1_GLOBAL_RSVD_STAT1_FW_BUILD_ID, val);
|
75 | 75 | prov_id = FIELD_GET(VEND1_GLOBAL_RSVD_STAT1_PROV_ID, val);
|
76 | 76 |
|
|
79 | 79 | fw_major, fw_minor, build_id, prov_id);
|
80 | 80 | }
|
81 | 81 |
|
82 |
| -@@ -674,6 +719,24 @@ static struct phy_driver aqr_driver[] = |
| 82 | +@@ -719,6 +764,24 @@ static struct phy_driver aqr_driver[] = |
83 | 83 | .link_change_notify = aqr107_link_change_notify,
|
84 | 84 | },
|
85 | 85 | {
|
|
104 | 104 | PHY_ID_MATCH_MODEL(PHY_ID_AQCS109),
|
105 | 105 | .name = "Aquantia AQCS109",
|
106 | 106 | .probe = aqr107_probe,
|
107 |
| -@@ -699,6 +762,24 @@ static struct phy_driver aqr_driver[] = |
| 107 | +@@ -744,6 +807,24 @@ static struct phy_driver aqr_driver[] = |
108 | 108 | .handle_interrupt = aqr_handle_interrupt,
|
109 | 109 | .read_status = aqr_read_status,
|
110 | 110 | },
|
|
129 | 129 | };
|
130 | 130 |
|
131 | 131 | module_phy_driver(aqr_driver);
|
132 |
| -@@ -709,8 +790,10 @@ static struct mdio_device_id __maybe_unu |
| 132 | +@@ -754,8 +835,10 @@ static struct mdio_device_id __maybe_unu |
133 | 133 | { PHY_ID_MATCH_MODEL(PHY_ID_AQR105) },
|
134 | 134 | { PHY_ID_MATCH_MODEL(PHY_ID_AQR106) },
|
135 | 135 | { PHY_ID_MATCH_MODEL(PHY_ID_AQR107) },
|
|
0 commit comments