aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/sock.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2021-09-28 13:32:33 -0700
committerDavid S. Miller <davem@davemloft.net>2021-09-29 11:36:38 +0100
commitd88fd1b546ff19c8040cfaea76bf16aed1c5a0bb (patch)
tree0e0882fb72761238d3a4007c382afcd4ebca539c /net/core/sock.c
parentMerge branch 'hns3-fixes' (diff)
downloadlinux-dev-d88fd1b546ff19c8040cfaea76bf16aed1c5a0bb.tar.xz
linux-dev-d88fd1b546ff19c8040cfaea76bf16aed1c5a0bb.zip
net: phy: bcm7xxx: Fixed indirect MMD operations
When EEE support was added to the 28nm EPHY it was assumed that it would be able to support the standard clause 45 over clause 22 register access method. It turns out that the PHY does not support that, which is the very reason for using the indirect shadow mode 2 bank 3 access method. Implement {read,write}_mmd to allow the standard PHY library routines pertaining to EEE querying and configuration to work correctly on these PHYs. This forces us to implement a __phy_set_clr_bits() function that does not grab the MDIO bus lock since the PHY driver's {read,write}_mmd functions are always called with that lock held. Fixes: 83ee102a6998 ("net: phy: bcm7xxx: add support for 28nm EPHY") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions