Commit 2cc65f41 authored by Álvaro Fernández Rojas's avatar Álvaro Fernández Rojas Committed by openeuler-sync-bot
Browse files

net: dsa: b53: mmap: add phy ops

stable inclusion
from stable-v5.10.179
commit a36246a7480d9590b9b790a6b5b3ac95f6e41833
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8C809

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



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

[ Upstream commit 45977e58 ]

Implement phy_read16() and phy_write16() ops for B53 MMAP to avoid accessing
B53_PORT_MII_PAGE registers which hangs the device.
This access should be done through the MDIO Mux bus controller.

Signed-off-by: default avatarÁlvaro Fernández Rojas <noltari@gmail.com>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
(cherry picked from commit 109b0e14)
parent 9a1d2802
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment