diff options
Diffstat (limited to 'include/net/dsa.h')
| -rw-r--r-- | include/net/dsa.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index 8903053fa5aa..ab0f0a5b0860 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -959,6 +959,14 @@ struct dsa_switch_ops {  	void	(*port_disable)(struct dsa_switch *ds, int port);  	/* +	 * Compatibility between device trees defining multiple CPU ports and +	 * drivers which are not OK to use by default the numerically smallest +	 * CPU port of a switch for its local ports. This can return NULL, +	 * meaning "don't know/don't care". +	 */ +	struct dsa_port *(*preferred_default_local_cpu_port)(struct dsa_switch *ds); + +	/*  	 * Port's MAC EEE settings  	 */  	int	(*set_mac_eee)(struct dsa_switch *ds, int port,  |