diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-03-03 12:12:43 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-09-01 17:12:27 +0100 |
commit | 7de89bab1fea9d604157fb1e4155ddc4d160c32b (patch) | |
tree | 5ed7c5a452aac27375120bfdeeee585523c2ebd4 | |
parent | 5c6a4005896afc8e941e0961ccddf0e7e11f1352 (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 1aad2aea4610..6a948f5be099 100644 --- a/include/linux/phylink.h +++ b/include/linux/phylink.h @@ -70,6 +70,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); }; /** |