blob: 1454a503622d270dcd12a236c649c1a16bdb6eb5 [file] [log] [blame]
Baruch Siach5eb32bd2010-05-24 00:36:13 -07001/* include/linux/fec.h
2 *
3 * Copyright (c) 2009 Orex Computed Radiography
4 * Baruch Siach <baruch@tkos.co.il>
5 *
Shawn Guo49da97d2011-01-05 21:13:11 +00006 * Copyright (C) 2010 Freescale Semiconductor, Inc.
7 *
Baruch Siach5eb32bd2010-05-24 00:36:13 -07008 * 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
17#include <linux/phy.h>
18
19struct fec_platform_data {
20 phy_interface_t phy;
Shawn Guo49da97d2011-01-05 21:13:11 +000021 unsigned char mac[ETH_ALEN];
Nimrod Andyde40ed32014-12-24 17:30:39 +080022 void (*sleep_mode_enable)(int enabled);
Baruch Siach5eb32bd2010-05-24 00:36:13 -070023};
24
25#endif