bfin_mac.h 559 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Blackfin On-Chip MAC Driver
  3. *
  4. * Copyright 2004-2010 Analog Devices Inc.
  5. *
  6. * Enter bugs at http://blackfin.uclinux.org/
  7. *
  8. * Licensed under the GPL-2 or later.
  9. */
  10. #ifndef _LINUX_BFIN_MAC_H_
  11. #define _LINUX_BFIN_MAC_H_
  12. #include <linux/phy.h>
  13. struct bfin_phydev_platform_data {
  14. unsigned short addr;
  15. int irq;
  16. };
  17. struct bfin_mii_bus_platform_data {
  18. int phydev_number;
  19. struct bfin_phydev_platform_data *phydev_data;
  20. const unsigned short *mac_peripherals;
  21. int phy_mode;
  22. unsigned int phy_mask;
  23. unsigned short vlan1_mask, vlan2_mask;
  24. };
  25. #endif