]> git.baikalelectronics.ru Git - kernel.git/commit
net: axienet: Properly handle PCS/PMA PHY for 1000BaseX mode
authorRobert Hancock <robert.hancock@calian.com>
Wed, 28 Oct 2020 17:14:29 +0000 (11:14 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 31 Oct 2020 21:13:46 +0000 (14:13 -0700)
commit1bf2b2ad63c3ada31c65d33f39d3612334e96597
treebd2aa63f46e6c8c38edb02644927bcd8de6dfed4
parentbac5e0967620481288fa2c7cb643591def431e83
net: axienet: Properly handle PCS/PMA PHY for 1000BaseX mode

Update the axienet driver to properly support the Xilinx PCS/PMA PHY
component which is used for 1000BaseX and SGMII modes, including
properly configuring the auto-negotiation mode of the PHY and reading
the negotiated state from the PHY.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Link: https://lore.kernel.org/r/20201028171429.1699922-1-robert.hancock@calian.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/xilinx/xilinx_axienet.h
drivers/net/ethernet/xilinx/xilinx_axienet_main.c