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-06-07 11:26:44 +0100 |
commit | 4bd23792e88485c8fc2fee0988c5739c3fd53fbb (patch) | |
tree | f16573aee05ce62b76978135cdef054aeaf06de9 | |
parent | 0f4008ecc5420fb1f1e3d1b50e93f24e492da155 (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 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); }; /** |