]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: stmmac: add get_interfaces() platform method
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 1 May 2025 11:45:11 +0000 (12:45 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 3 May 2025 01:25:08 +0000 (18:25 -0700)
commitca732e990fc8222a2d6782ae750304719e212fe8
tree0e3a46c565f3826025167597455f9f95a0156b9f
parent1966be55da5b829fcced4c639a1a9b8729b2c3a0
net: stmmac: add get_interfaces() platform method

Add a get_interfaces() platform method to allow platforms to indicate
to phylink which interface modes they support - which then allows
phylink to validate on initialisation that the configured PHY interface
mode is actually supported.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1uASLn-0021Qd-Mi@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
include/linux/stmmac.h