summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-04-04 12:03:20 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-04 12:03:20 +0200
commit602a8a6e96de81552a576ef866333c77c584c67d (patch)
tree9bfed8ca2d860e7590a6e8610e09a7cb741b54b3 /include
parent0e291a853ac24b25a068cd71b907fc1d427cee4b (diff)
parente9e5919dd31dc3b0a31f636bf29fb8815c759e52 (diff)
downloadbarebox-602a8a6e96de81552a576ef866333c77c584c67d.tar.gz
barebox-602a8a6e96de81552a576ef866333c77c584c67d.tar.xz
Merge branch 'for-next/fec'
Diffstat (limited to 'include')
-rw-r--r--include/fec.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/fec.h b/include/fec.h
index 94cb6edd19..699761a998 100644
--- a/include/fec.h
+++ b/include/fec.h
@@ -24,22 +24,11 @@
#include <linux/phy.h>
/*
- * Supported phy types on this platform
- */
-typedef enum {
- SEVENWIRE,
- MII10,
- MII100,
- RMII,
- RGMII,
-} xceiver_type;
-
-/*
* Define the phy connected externally for FEC drivers
* (like MPC52xx and i.MX27)
*/
struct fec_platform_data {
- xceiver_type xcv_type;
+ phy_interface_t xcv_type;
int phy_addr;
void (*phy_init)(struct phy_device *dev);
};