net: phylink: add MAC phy_interface_t bitmap
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>
This commit is contained in:
		
							parent
							
								
									8e20f591f2
								
							
						
					
					
						commit
						38c310eb46
					
				| @ -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); | ||||
| }; | ||||
| 
 | ||||
| /**
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user