mv88e6xxx.h 416 B

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