diff options
author | root <root@artemis.panaceas.org> | 2015-12-25 04:40:36 +0000 |
---|---|---|
committer | root <root@artemis.panaceas.org> | 2015-12-25 04:40:36 +0000 |
commit | 849369d6c66d3054688672f97d31fceb8e8230fb (patch) | |
tree | 6135abc790ca67dedbe07c39806591e70eda81ce /include/linux/fec.h | |
download | linux-3.0.35-kobo-849369d6c66d3054688672f97d31fceb8e8230fb.tar.gz linux-3.0.35-kobo-849369d6c66d3054688672f97d31fceb8e8230fb.tar.bz2 linux-3.0.35-kobo-849369d6c66d3054688672f97d31fceb8e8230fb.zip |
initial_commit
Diffstat (limited to 'include/linux/fec.h')
-rw-r--r-- | include/linux/fec.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/linux/fec.h b/include/linux/fec.h new file mode 100644 index 00000000..7d4e73d1 --- /dev/null +++ b/include/linux/fec.h @@ -0,0 +1,27 @@ +/* include/linux/fec.h + * + * Copyright (c) 2009 Orex Computed Radiography + * Baruch Siach <baruch@tkos.co.il> + * + * Copyright (C) 2010-2013 Freescale Semiconductor, Inc. + * + * Header file for the FEC platform data + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +#ifndef __LINUX_FEC_H__ +#define __LINUX_FEC_H__ + +#include <linux/phy.h> + +struct fec_platform_data { + int (*init) (struct phy_device *); + int (*power_hibernate) (struct phy_device *); + phy_interface_t phy; + unsigned char mac[ETH_ALEN]; + int gpio_irq; +}; + +#endif |