]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: mtk_eth_soc: add support for in-band 802.3z negotiation
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 27 Oct 2022 13:11:28 +0000 (14:11 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 29 Oct 2022 04:48:32 +0000 (21:48 -0700)
commit81b0f12a2a8a1699a7d49c3995e5f71e4ec018e6
tree84acd3e3521cb7fb44ec880bbe35f63a5539f289
parent3027d89f87707e7f3e5b683e0d37a32afb5bde96
net: mtk_eth_soc: add support for in-band 802.3z negotiation

As a result of help from Frank Wunderlich to investigate and test, we
now know how to program this PCS for in-band 802.3z negotiation. Add
support for this by moving the contents of the two functions into the
common mtk_pcs_config() function and adding the register settings for
802.3z negotiation.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/mtk_sgmii.c