diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2024-10-07 12:57:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-17 16:26:59 +0300 |
commit | f82b629d41dd79fc143de40e894452ed52eb0d5a (patch) | |
tree | f17c9b297c512137cf7f9dbe5aad7df347c2a90a /net/netlabel | |
parent | fba363f4d244269a0ba7abb8df953a244c6749af (diff) | |
download | linux-f82b629d41dd79fc143de40e894452ed52eb0d5a.tar.xz |
net: phy: realtek: Fix MMD access on RTL8126A-integrated PHY
commit a6ad589c1d118f9d5b1bc4c6888d42919f830340 upstream.
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: 5befa3728b85 ("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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions