Skip to content

Commit

Permalink
net: phylink: add MAC phy_interface_t bitmap
Browse files Browse the repository at this point in the history
Add a phy_interface_t bitmap so the MAC driver can specifiy which PHY
interface modes it supports.

Signed-off-by: Russell King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Russell King authored and davem330 committed Oct 26, 2021
1 parent 8e20f59 commit 38c310e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/phylink.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

/**
Expand Down

0 comments on commit 38c310e

Please sign in to comment.