diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-03-03 12:12:43 +0000 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-09-19 13:22:14 +0100 |
commit | 03a6c744372a8682f913dff44a874c2c2d01cfd6 (patch) | |
tree | 74facd6e703bd7d846c37df8ca1087fd5c922a3d | |
parent | 7072ef48e86ddb063bf8f509a89c54090d84c1b3 (diff) |
net: phylink: add mac PHY interface bitmap
Add a PHY interface bitmap for the MAC driver to specify which PHY
interfaces are supported to phylink.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
-rw-r--r-- | include/linux/phylink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phylink.h b/include/linux/phylink.h index f7b5ed06a815..bc4b866cd99b 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); }; /** |