diff mbox series

[net-next,2/3] net: phylink: add MAC phy_interface_t bitmap

Message ID E1mfJLK-001KXT-Nu@rmk-PC.armlinux.org.uk (mailing list archive)
State Accepted
Commit 38c310eb46f5f80213a92093af11af270c209a76
Delegated to: Netdev Maintainers
Headers show
Series Introduce supported interfaces bitmap | expand

Checks

Context Check Description
netdev/cover_letter success Series has a cover letter
netdev/fixes_present success Fixes tag not required for -next series
netdev/patch_count success Link
netdev/tree_selection success Clearly marked for net-next
netdev/subject_prefix success Link
netdev/cc_maintainers fail 1 maintainers not CCed: linux@armlinux.org.uk
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 78 this patch: 78
netdev/kdoc fail Errors and warnings before: 0 this patch: 1
netdev/verify_fixes success No Fixes tag
netdev/checkpatch warning WARNING: 'specifiy' may be misspelled - perhaps 'specify'?
netdev/build_allmodconfig_warn success Errors and warnings before: 78 this patch: 78
netdev/header_inline success No static functions without inline keyword in header files

Commit Message

Russell King (Oracle) Oct. 26, 2021, 10:06 a.m. UTC
Add a phy_interface_t bitmap so the MAC driver can specifiy which PHY
interface modes it supports.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
 include/linux/phylink.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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);
 };
 
 /**