net: stmmac: provide stmmac_mac_phylink_get_caps()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 24 Aug 2023 13:38:19 +0000 (14:38 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 26 Aug 2023 01:55:19 +0000 (18:55 -0700)
commitd42ca04e044891c9cf2e5a8dbcef85dd57f94827
treea12aecd6e5e1452a68d4b72015eb67a56796b3e5
parenta4ac612bd345d676f2d70125a729df2861f91c1d
net: stmmac: provide stmmac_mac_phylink_get_caps()

Allow MACs to provide their own capabilities via the MAC operations
struct.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1qZAXT-005pUD-Aj@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/hwif.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c