linux/drivers/net/pcs
Russell King (Oracle) 1f94ba198b net: pcs: xpcs: correct lp_advertising contents
lp_advertising is supposed to reflect the link partner's advertisement
unmodified by the local advertisement, but xpcs bitwise ands it with
the local advertisement prior to calculating the resolution of the
negotiation.

Fix this by moving the bitwise and to xpcs_resolve_lpa_c73() so it can
place the results in a temporary bitmap before passing that to
ixpcs_get_max_usxgmii_speed().

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-05-24 09:13:22 -07:00
..
Kconfig net: pcs: add driver for MediaTek SGMII PCS 2023-03-20 19:48:26 -07:00
Makefile net: pcs: add driver for MediaTek SGMII PCS 2023-03-20 19:48:26 -07:00
pcs-altera-tse.c net: pcs: altera-tse: remove unnecessary register definitions 2022-11-29 20:29:55 -08:00
pcs-lynx.c net: pcs: lynx: don't print an_enabled in pcs_get_state() 2023-03-17 08:19:03 +00:00
pcs-mtk-lynxi.c net: pcs: add driver for MediaTek SGMII PCS 2023-03-20 19:48:26 -07:00
pcs-rzn1-miic.c net: pcs: rzn1-miic: remove unused struct members and use miic variable 2023-02-09 22:47:16 -08:00
pcs-xpcs-nxp.c net: update NXP copyright text 2021-09-17 13:52:17 +01:00
pcs-xpcs.c net: pcs: xpcs: correct lp_advertising contents 2023-05-24 09:13:22 -07:00
pcs-xpcs.h net: pcs: xpcs: clean up reading clause 73 link partner advertisement 2023-05-24 09:13:22 -07:00