]> git.baikalelectronics.ru Git - kernel.git/commit
net: enetc: use .mac_select_pcs() interface
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 25 Jan 2022 16:31:10 +0000 (16:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Jan 2022 16:35:34 +0000 (16:35 +0000)
commit5fd16021578ecb290a51368bd9d19b2963f6bac5
tree5d103a3bcd978b449a87628dc8c18d62b99f1257
parentc592286a527fff2c4dc6ea10c6b6d9143ca65872
net: enetc: use .mac_select_pcs() interface

Convert the PCS selection to use mac_select_pcs, which allows the PCS
to perform any validation it needs.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_pf.c