net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 2 Feb 2023 20:45:36 +0000 (21:45 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 4 Feb 2023 03:55:36 +0000 (19:55 -0800)
commit69ff53e4a4c9498eeed7d1441f68a1481dc69251
tree9237bd4a2606c63bd0cba69b529af09212c1a003
parentc9011b028e956c3b6baa6f131d9eec43e4e52020
net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY

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: d853d145ea3e ("net: phy: add an option to disable EEE advertisement")
Suggested-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/84432fe4-0be4-bc82-4e5c-557206b40f56@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/meson-gxl.c