Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /* include/linux/fec.h
0003  *
0004  * Copyright (c) 2009 Orex Computed Radiography
0005  *   Baruch Siach <baruch@tkos.co.il>
0006  *
0007  * Copyright (C) 2010 Freescale Semiconductor, Inc.
0008  *
0009  * Header file for the FEC platform data
0010  */
0011 #ifndef __LINUX_FEC_H__
0012 #define __LINUX_FEC_H__
0013 
0014 #include <linux/phy.h>
0015 
0016 struct fec_platform_data {
0017     phy_interface_t phy;
0018     unsigned char mac[ETH_ALEN];
0019     void (*sleep_mode_enable)(int enabled);
0020 };
0021 
0022 #endif