projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e20f59
)
net: phylink: add MAC phy_interface_t bitmap
author
Russell King
<rmk+kernel@armlinux.org.uk>
Tue, 26 Oct 2021 10:06:06 +0000
(11:06 +0100)
committer
David S. Miller
<davem@davemloft.net>
Tue, 26 Oct 2021 14:10:36 +0000
(15:10 +0100)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/phylink.h
patch
|
blob
|
history
diff --git
a/include/linux/phylink.h
b/include/linux/phylink.h
index f7b5ed06a815b37bc3d3fbd3fcbddb48e9ff45ed..bc4b866cd99b330d96c27b7840bcd26074631241 100644
(file)
--- 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);
};
/**