Commit 2c2b6919 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by zhaoxiaoqiang11
Browse files

net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY

stable inclusion
from stable-v5.10.168
commit 07097ad30b36b79ae23826291978a1775fb14f94
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7URR4

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=07097ad30b36b79ae23826291978a1775fb14f94



----------------------------------------------------

[ Upstream commit 69ff53e4 ]

Jerome provided the information that also the GXL internal PHY doesn't
support MMD register access and EEE. MMD reads return 0xffff, what
results in e.g. completely wrong ethtool --show-eee output.
Therefore use the MMD dummy stubs.

Fixes: d853d145 ("net: phy: add an option to disable EEE advertisement")
Suggested-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/84432fe4-0be4-bc82-4e5c-557206b40f56@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarzhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
parent 1ab49d01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment