David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [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; |
| 18 | unsigned char mac[ETH_ALEN]; |
| 19 | void (*sleep_mode_enable)(int enabled); |
| 20 | }; |
| 21 | |
| 22 | #endif |