fec.h 609 B

12345678910111213141516171819202122232425
  1. /* include/linux/fec.h
  2. *
  3. * Copyright (c) 2009 Orex Computed Radiography
  4. * Baruch Siach <baruch@tkos.co.il>
  5. *
  6. * Copyright (C) 2010 Freescale Semiconductor, Inc.
  7. *
  8. * Header file for the FEC platform data
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License version 2 as
  12. * published by the Free Software Foundation.
  13. */
  14. #ifndef __LINUX_FEC_H__
  15. #define __LINUX_FEC_H__
  16. #include <linux/phy.h>
  17. struct fec_platform_data {
  18. phy_interface_t phy;
  19. unsigned char mac[ETH_ALEN];
  20. void (*sleep_mode_enable)(int enabled);
  21. };
  22. #endif