Commit | Line | Data |
---|---|---|
877b7cb0 AL |
1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | #ifndef __DSA_MV88E6XXX_H | |
3 | #define __DSA_MV88E6XXX_H | |
4 | ||
8cfb5faf | 5 | #include <linux/platform_data/dsa.h> |
877b7cb0 AL |
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; | |
00baabe5 | 15 | u32 eeprom_len; |
a27415de | 16 | int irq; |
877b7cb0 AL |
17 | }; |
18 | ||
19 | #endif |