2018-05-20 04:31:34 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef __DSA_MV88E6XXX_H
|
|
|
|
#define __DSA_MV88E6XXX_H
|
|
|
|
|
2019-01-16 07:06:13 +08:00
|
|
|
#include <linux/platform_data/dsa.h>
|
2018-05-20 04:31:34 +08:00
|
|
|
|
|
|
|
struct dsa_mv88e6xxx_pdata {
|
|
|
|
/* Must be first, such that dsa_register_switch() can access this
|
|
|
|
* without gory pointer manipulations
|
|
|
|
*/
|
|
|
|
struct dsa_chip_data cd;
|
|
|
|
const char *compatible;
|
|
|
|
unsigned int enabled_ports;
|
|
|
|
struct net_device *netdev;
|
2018-05-20 04:31:35 +08:00
|
|
|
u32 eeprom_len;
|
2018-05-20 04:31:34 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|