1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __DSA_MV88E6XXX_H
3 #define __DSA_MV88E6XXX_H
4 
5 #include <net/dsa.h>
6 
7 struct dsa_mv88e6xxx_pdata {
8 	/* Must be first, such that dsa_register_switch() can access this
9 	 * without gory pointer manipulations
10 	 */
11 	struct dsa_chip_data cd;
12 	const char *compatible;
13 	unsigned int enabled_ports;
14 	struct net_device *netdev;
15 	u32 eeprom_len;
16 };
17 
18 #endif
19