Commit 38278ac
Izabela Bakollari
net: phy: realtek: Fix MMD access on RTL8126A-integrated PHY
JIRA: https://issues.redhat.com/browse/RHEL-57766
commit a6ad589
Author: Heiner Kallweit <hkallweit1@gmail.com>
Date: Mon Oct 7 11:57:41 2024 +0200
net: phy: realtek: Fix MMD access on RTL8126A-integrated PHY
All MMD reads return 0 for the RTL8126A-integrated PHY. Therefore phylib
assumes it doesn't support EEE, what results in higher power consumption,
and a significantly higher chip temperature in my case.
To fix this split out the PHY driver for the RTL8126A-integrated PHY
and set the read_mmd/write_mmd callbacks to read from vendor-specific
registers.
Fixes: 5befa37 ("net: phy: realtek: add support for RTL8126A-integrated 5Gbps PHY")
Cc: stable@vger.kernel.org
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Izabela Bakollari <ibakolla@redhat.com>1 parent f93fc00 commit 38278ac
1 file changed
+23
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1081 | 1081 | | |
1082 | 1082 | | |
1083 | 1083 | | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1084 | 1094 | | |
1085 | 1095 | | |
1086 | 1096 | | |
| |||
1418 | 1428 | | |
1419 | 1429 | | |
1420 | 1430 | | |
1421 | | - | |
| 1431 | + | |
1422 | 1432 | | |
1423 | 1433 | | |
1424 | 1434 | | |
| |||
1427 | 1437 | | |
1428 | 1438 | | |
1429 | 1439 | | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
1430 | 1452 | | |
1431 | 1453 | | |
1432 | 1454 | | |
| |||
0 commit comments