Thread (5 messages) flat view 5 messages, 3 authors, 2021-10-26
STALE1759d

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

From: Russell King <hidden>
Date: 2021-10-26 10:06:14
Subsystem: sff/sfp/sfp+ module support, the rest · Maintainers: Russell King, Linus Torvalds

Add a phy_interface_t bitmap so the MAC driver can specifiy which PHY
interface modes it supports.

Signed-off-by: Russell King <redacted>
---
 include/linux/phylink.h | 1 +
 1 file changed, 1 insertion(+)
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);
 };
 
 /**
-- 
2.30.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help