diff options
| author | Serge Semin <fancer.lancer@gmail.com> | 2023-07-05 15:40:04 +0300 |
|---|---|---|
| committer | Serge Semin <fancer.lancer@gmail.com> | 2026-08-13 20:37:49 +0300 |
| commit | 01257fa022a94066cf30e7177a3ed3542c5944c5 (patch) | |
| tree | 846684e9eefe85a8e76c8ecee028112a0d6a63ab | |
| parent | 7aa1c891409af10d038479565be6d5a86f2836e7 (diff) | |
| download | linux-01257fa022a94066cf30e7177a3ed3542c5944c5.tar.gz linux-01257fa022a94066cf30e7177a3ed3542c5944c5.zip | |
net: phylink: Allow in-band AN for XGMII
XGMII is an interface between MAC and PCS. So it's a subject of the PCS
device implementation whether it supports passing link information in-band
between PHY and MAC PCS. Anyway add XGMII to the list of protocols that
support in-band AN mode and let the PCS driver to decide the supported
link modes.
Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
| -rw-r--r-- | drivers/net/phy/phylink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c index aba1b35c7cd7..c5119b54a4f8 100644 --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c @@ -818,6 +818,7 @@ static int phylink_parse_mode(struct phylink *pl, case PHY_INTERFACE_MODE_2500BASEX: case PHY_INTERFACE_MODE_5GBASER: case PHY_INTERFACE_MODE_25GBASER: + case PHY_INTERFACE_MODE_XGMII: case PHY_INTERFACE_MODE_USXGMII: case PHY_INTERFACE_MODE_10G_QXGMII: case PHY_INTERFACE_MODE_10GKR: |
