]> git.baikalelectronics.ru Git - kernel.git/commit
net: phylink: avoid mac_config calls
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 21 Jul 2020 11:04:10 +0000 (12:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 22:46:50 +0000 (15:46 -0700)
commit636565c07bcbe179e9c20252123513a7b5a0a060
tree2154fd670210241a0c56ab88b74d40352874f88c
parentc56a5b25c145d9603fe76eeaf0b512ff1a4ac405
net: phylink: avoid mac_config calls

Avoid calling mac_config() when using split PCS, and the interface
remains the same.

Reviewed-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/phy/phylink.c