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:45 +0100 |
commit | dc5ec826ca9e1484b9d052373281ea9f101a06d0 (patch) | |
tree | fdcc5116b2b5e9b79ddf2ffbadbb03a40ed5b17c /rust/helpers/helpers.c | |
parent | 115fd57c41e8274c8b8917322a096c94a58bc2ea (diff) |
net: xpcs: allow 1000BASE-X to work with older XPCS IP
Older XPCS IP requires SGMII_LINK and PHY_SIDE_SGMII to be set when
operating in 1000BASE-X mode even though the XPCS is not configured for
SGMII. An example of a device with older XPCS IP is KSZ9477.
We already don't clear these bits if we switch from SGMII to 1000BASE-X
on TXGBE - which would result in 1000BASE-X with the PHY_SIDE_SGMII bit
left set.
It is currently believed to be safe to set both bits on newer IP
without side-effects.
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