From: Russell King Date: Tue, 26 Oct 2021 10:06:06 +0000 (+0100) Subject: net: phylink: add MAC phy_interface_t bitmap X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=38c310eb46f5f80213a92093af11af270c209a76;p=linux.git net: phylink: add MAC phy_interface_t bitmap 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 --- diff --git a/include/linux/phylink.h b/include/linux/phylink.h index f7b5ed06a815b..bc4b866cd99b3 100644 --- a/include/linux/phylink.h +++ b/include/linux/phylink.h @@ -76,6 +76,7 @@ struct phylink_config { bool ovr_an_inband; void (*get_fixed_state)(struct phylink_config *config, struct phylink_link_state *state); + DECLARE_PHY_INTERFACE_MASK(supported_interfaces); }; /**