fec.h 463 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /* include/linux/fec.h
  3. *
  4. * Copyright (c) 2009 Orex Computed Radiography
  5. * Baruch Siach <baruch@tkos.co.il>
  6. *
  7. * Copyright (C) 2010 Freescale Semiconductor, Inc.
  8. *
  9. * Header file for the FEC platform data
  10. */
  11. #ifndef __LINUX_FEC_H__
  12. #define __LINUX_FEC_H__
  13. #include <linux/phy.h>
  14. struct fec_platform_data {
  15. phy_interface_t phy;
  16. unsigned char mac[ETH_ALEN];
  17. void (*sleep_mode_enable)(int enabled);
  18. };
  19. #endif