Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Baruch Siach | 5eb32bd | 2010-05-24 00:36:13 -0700 | [diff] [blame] | 2 | /* include/linux/fec.h |
| 3 | * |
| 4 | * Copyright (c) 2009 Orex Computed Radiography |
| 5 | * Baruch Siach <baruch@tkos.co.il> |
| 6 | * |
Shawn Guo | 49da97d | 2011-01-05 21:13:11 +0000 | [diff] [blame] | 7 | * Copyright (C) 2010 Freescale Semiconductor, Inc. |
| 8 | * |
Baruch Siach | 5eb32bd | 2010-05-24 00:36:13 -0700 | [diff] [blame] | 9 | * Header file for the FEC platform data |
Baruch Siach | 5eb32bd | 2010-05-24 00:36:13 -0700 | [diff] [blame] | 10 | */ |
| 11 | #ifndef __LINUX_FEC_H__ |
| 12 | #define __LINUX_FEC_H__ |
| 13 | |
| 14 | #include <linux/phy.h> |
| 15 | |
| 16 | struct fec_platform_data { |
| 17 | phy_interface_t phy; |
Shawn Guo | 49da97d | 2011-01-05 21:13:11 +0000 | [diff] [blame] | 18 | unsigned char mac[ETH_ALEN]; |
Nimrod Andy | de40ed3 | 2014-12-24 17:30:39 +0800 | [diff] [blame] | 19 | void (*sleep_mode_enable)(int enabled); |
Baruch Siach | 5eb32bd | 2010-05-24 00:36:13 -0700 | [diff] [blame] | 20 | }; |
| 21 | |
| 22 | #endif |