OSDN Git Service

net: phylink: add QSGMII support to phylink_mii_c22_pcs_encode_advertisement()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 23 Jun 2022 12:25:25 +0000 (13:25 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 24 Jun 2022 18:27:24 +0000 (11:27 -0700)
commitf56866c486fa8e092d9cc52d45f65b8f07a2f96a
tree72d545db528b694aaa28248394b69d00c734f769
parentb4cbd7a9339f396a991a9a056c4b57a35a4cbd96
net: phylink: add QSGMII support to phylink_mii_c22_pcs_encode_advertisement()

The QSGMII MAC-to-PHY reply is the same as the SGMII MAC-to-PHY reply.
Add support for this to phylink_mii_c22_pcs_encode_advertisement().

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phylink.c