net: phy: broadcom: stub c45 read/write for 54810
authorJustin Chen <justin.chen@broadcom.com>
Sun, 13 Aug 2023 04:41:47 +0000 (21:41 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 16 Aug 2023 01:53:43 +0000 (18:53 -0700)
commit096516d092d54604d590827d05b1022c8f326639
tree2c793066067275d35cdf7a307d19a588b8308a62
parente4dd0d3a2f64b8bd8029ec70f52bdbebd0644408
net: phy: broadcom: stub c45 read/write for 54810

The 54810 does not support c45. The mmd_phy_indirect accesses return
arbirtary values leading to odd behavior like saying it supports EEE
when it doesn't. We also see that reading/writing these non-existent
MMD registers leads to phy instability in some cases.

Fixes: b14995ac2527 ("net: phy: broadcom: Add BCM54810 PHY entry")
Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/1691901708-28650-1-git-send-email-justin.chen@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/broadcom.c