Commit 0cdaabc
committed
net: phy: as21xx: Refactor the match_phy_device callback for AN8831X 10G PHY driver
Refactor the match_phy_device callback for AN8831X 10G PHY driver.
Without this patch, the AN8831X driver will corrupt other phydev->phy_id
variable, causing the GbE of the built-in Switch to fail in attaching the
PHY driver on MT7988.
based on:
https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/d09662ee85280bd00d58f5ca48e488bbf0c3cf7b%5E%21/#F21 parent 6a28525 commit 0cdaabc
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
| 1239 | + | |
1239 | 1240 | | |
1240 | | - | |
1241 | 1241 | | |
1242 | 1242 | | |
| 1243 | + | |
| 1244 | + | |
1243 | 1245 | | |
1244 | 1246 | | |
1245 | 1247 | | |
| |||
0 commit comments