summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-03-07 22:33:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-09 20:09:23 +0100
commite9e5919dd31dc3b0a31f636bf29fb8815c759e52 (patch)
tree6ad2f61eb4ec801c5797597c650e3ed040c52c80 /include
parent31865e8a7f2e678cb206ab318b96175d0ae37ab1 (diff)
downloadbarebox-e9e5919dd31dc3b0a31f636bf29fb8815c759e52.tar.gz
barebox-e9e5919dd31dc3b0a31f636bf29fb8815c759e52.tar.xz
net: fec: use standard phy type defines
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/fec.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/fec.h b/include/fec.h
index 80904dce41..699761a998 100644
--- a/include/fec.h
+++ b/include/fec.h
@@ -24,21 +24,11 @@
#include <linux/phy.h>
/*
- * Supported phy types on this platform
- */
-typedef enum {
- 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);
};