]> git.baikalelectronics.ru Git - kernel.git/commit
net: phylink: Allow 2.5BASE-T, 5GBASE-T and 10GBASE-T for the 10G link modes
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 16 Jan 2020 17:36:56 +0000 (19:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jan 2020 09:06:47 +0000 (10:06 +0100)
commite5f2757e82be66934197dd74cf8a519ab78845e6
tree74a6e09d82f76babba661e30dab0f836a24e37cd
parent57cbb0dabfece2021f8afe4e1fa1f2090661d9e3
net: phylink: Allow 2.5BASE-T, 5GBASE-T and 10GBASE-T for the 10G link modes

For some reason, PHYLINK does not put the copper modes for 802.3bz
(NBASE-T) and 802.3an-2006 (10GBASE-T) in the PHY's supported mask, when
the PHY-MAC connection is a 10G-capable one (10GBase-KR, 10GBase-R,
USXGMII). One possible way through which the cable side can work at the
lower speed is by having the PHY emit PAUSE frames towards the MAC. So
fix that omission.

Also include the 2500Base-X fiber mode in this list while we're at it.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c