net: dsa: realtek: provide own phylink MAC operations
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Sun, 28 Apr 2024 10:33:11 +0000 (11:33 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 30 Apr 2024 11:50:01 +0000 (13:50 +0200)
commit8aec5b10bce6f5916c5999bafd76d3383cabf424
tree03a3ff1f6bbc9c4f746e488a151bfb5516524799
parent16e6592cd5c5bd74d8890973489f60176c692614
net: dsa: realtek: provide own phylink MAC operations

Convert realtek to provide its own phylink MAC operations, thus
avoiding the shim layer in DSA's port.c. We need to provide a stub for
the mandatory mac_config() method for rtl8366rb.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/E1s11qJ-00AHi0-Kk@rmk-PC.armlinux.org.uk
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/realtek/realtek.h
drivers/net/dsa/realtek/rtl8365mb.c
drivers/net/dsa/realtek/rtl8366rb.c
drivers/net/dsa/realtek/rtl83xx.c