]> 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)
commit8aee92b6ccaa306f01cf8653231ce0c431cfb253
treebd2aa63f46e6c8c38edb02644927bcd8de6dfed4
parent3a171fe15fa4ebcf4b55c701c75d345d19267040
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