]> git.baikalelectronics.ru Git - kernel.git/commit
net: lan966x: Add QUSGMII support for lan966x
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Wed, 17 Aug 2022 12:32:55 +0000 (14:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Aug 2022 12:46:26 +0000 (13:46 +0100)
commit679353c12dddcefcfa0070d0f9afbb1427fa1738
tree56ec6f6086e8e2d8b1c7f2431bce3e3b0e21b4ab
parentb68a0a475bcaefb9b06d483a634d6f2040343429
net: lan966x: Add QUSGMII support for lan966x

The Lan996x controller supports the QUSGMII mode, which is very similar
to QSGMII in the way it's configured and the autonegociation
capababilities it provides.

This commit adds support for that mode, treating it most of the time
like QSGMII, making sure that we do configure the PCS how we should.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
drivers/net/ethernet/microchip/lan966x/lan966x_phylink.c
drivers/net/ethernet/microchip/lan966x/lan966x_port.c
drivers/net/ethernet/microchip/lan966x/lan966x_regs.h