]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa/bcm_sf2: move speed/duplex forcing to mac_link_up()
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 30 Jun 2020 10:28:13 +0000 (11:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 20:05:10 +0000 (13:05 -0700)
commit00ebaabfea4d98b2c1b8a7d9ec6a7a6c2d33d0fb
tree6f9ef2e5b6e3554f0b23d0e34074a4551b76dce1
parentcf4c8be85f63210fadeb33c822c1dee1b8773860
net: dsa/bcm_sf2: move speed/duplex forcing to mac_link_up()

Convert the bcm_sf2 to use the finalised speed and duplex in its
mac_link_up() call rather than the parameters in mac_config().

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c