diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-02-05 14:08:11 +0000 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-04-04 14:39:44 +0100 |
commit | 115fd57c41e8274c8b8917322a096c94a58bc2ea (patch) | |
tree | 8ffd9a310ca2d83c43c4ef168ec200928de1c991 /rust/helpers/helpers.c | |
parent | 39600e3770508f45b3c112045ce33bb7dad5506a (diff) |
net: xpcs: add SGMII MAC manual update mode
Older revisions of the XPCS IP do not support the MAC_AUTO_SW flag and
need the BMCR register updated with the speed information from the PHY.
Split the DW_XPCS_SGMII_MODE_MAC mode into _AUTO and _MANUAL variants,
where _AUTO mode means the update happens in hardware autonomously,
whereas the _MANUAL mode means that we need to update the BMCR register
when the link comes up.
This will be required for the older XPCS IP found in KSZ9477.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions