blob: 9aaf53f07269a92b1f9067de50bc88be9ddf9284 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Baruch Siach5eb32bd2010-05-24 00:36:13 -07002/* include/linux/fec.h
3 *
4 * Copyright (c) 2009 Orex Computed Radiography
5 * Baruch Siach <baruch@tkos.co.il>
6 *
Shawn Guo49da97d2011-01-05 21:13:11 +00007 * Copyright (C) 2010 Freescale Semiconductor, Inc.
8 *
Baruch Siach5eb32bd2010-05-24 00:36:13 -07009 * Header file for the FEC platform data
Baruch Siach5eb32bd2010-05-24 00:36:13 -070010 */
11#ifndef __LINUX_FEC_H__
12#define __LINUX_FEC_H__
13
14#include <linux/phy.h>
15
16struct fec_platform_data {
17 phy_interface_t phy;
Shawn Guo49da97d2011-01-05 21:13:11 +000018 unsigned char mac[ETH_ALEN];
Nimrod Andyde40ed32014-12-24 17:30:39 +080019 void (*sleep_mode_enable)(int enabled);
Baruch Siach5eb32bd2010-05-24 00:36:13 -070020};
21
22#endif