From b3ecb1f0373fe25e140f522a30b87a9c3b4cf4a8 Mon Sep 17 00:00:00 2001 From: Russell King Date: Mon, 13 Jun 2022 12:01:20 +0530 Subject: net: phylink: add MAC phy_interface_t bitmap commit 38c310eb46f5f80213a92093af11af270c209a76 upstream. Add a phy_interface_t bitmap so the MAC driver can specifiy which PHY interface modes it supports. Signed-off-by: Russell King Signed-off-by: David S. Miller Signed-off-by: Vignesh Raghavendra --- include/linux/phylink.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') diff --git a/include/linux/phylink.h b/include/linux/phylink.h index d81a714cfbbd..d2874f815a47 100644 --- a/include/linux/phylink.h +++ b/include/linux/phylink.h @@ -74,6 +74,7 @@ struct phylink_config { bool poll_fixed_state; void (*get_fixed_state)(struct phylink_config *config, struct phylink_link_state *state); + DECLARE_PHY_INTERFACE_MASK(supported_interfaces); }; /** -- cgit v1.2.3