Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __DSA_MV88E6XXX_H
0003 #define __DSA_MV88E6XXX_H
0004 
0005 #include <linux/platform_data/dsa.h>
0006 
0007 struct dsa_mv88e6xxx_pdata {
0008     /* Must be first, such that dsa_register_switch() can access this
0009      * without gory pointer manipulations
0010      */
0011     struct dsa_chip_data cd;
0012     const char *compatible;
0013     unsigned int enabled_ports;
0014     struct net_device *netdev;
0015     u32 eeprom_len;
0016     int irq;
0017 };
0018 
0019 #endif