diff options
Diffstat (limited to 'include/linux/fec.h')
-rw-r--r-- | include/linux/fec.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/fec.h b/include/linux/fec.h new file mode 100644 index 000000000..9aaf53f07 --- /dev/null +++ b/include/linux/fec.h @@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* include/linux/fec.h + * + * Copyright (c) 2009 Orex Computed Radiography + * Baruch Siach <baruch@tkos.co.il> + * + * Copyright (C) 2010 Freescale Semiconductor, Inc. + * + * Header file for the FEC platform data + */ +#ifndef __LINUX_FEC_H__ +#define __LINUX_FEC_H__ + +#include <linux/phy.h> + +struct fec_platform_data { + phy_interface_t phy; + unsigned char mac[ETH_ALEN]; + void (*sleep_mode_enable)(int enabled); +}; + +#endif |