]> git.baikalelectronics.ru Git - kernel.git/commit
net: axienet: use resolved link config in mac_link_up()
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 26 Feb 2020 10:23:56 +0000 (10:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 20:02:14 +0000 (12:02 -0800)
commit5f3c10754c11010c7ffe2f9b2f3df7bbec142a80
treef7a72d33d202b0a2061c349d108c11e65eb13598
parentdb00c73138b3b25bb5f2e5ba62d811494ac409ae
net: axienet: use resolved link config in mac_link_up()

Convert the Xilinx AXI ethernet driver to use the finalised link
parameters in mac_link_up() rather than the parameters in mac_config().

Tested-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c