summaryrefslogtreecommitdiff
path: root/include/asm-m68k/fec.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2008-11-10 10:04:51 -0600
committerJon Loeliger <jdl@freescale.com>2008-11-10 10:04:51 -0600
commit33211469f7d7e2afacf103cc55790f734572f7a6 (patch)
tree7c374cde48fba08b52b4f83bdf00aae89d7f85a3 /include/asm-m68k/fec.h
parent1266df887781c779deaf6d05eea2ef90a470cb34 (diff)
parent1378174a1351c0285736863a665ab758fe8d5f71 (diff)
downloadu-boot-imx-33211469f7d7e2afacf103cc55790f734572f7a6.zip
u-boot-imx-33211469f7d7e2afacf103cc55790f734572f7a6.tar.gz
u-boot-imx-33211469f7d7e2afacf103cc55790f734572f7a6.tar.bz2
Merge commit 'wd/master'
Diffstat (limited to 'include/asm-m68k/fec.h')
-rw-r--r--include/asm-m68k/fec.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-m68k/fec.h b/include/asm-m68k/fec.h
index e639599..49311e5 100644
--- a/include/asm-m68k/fec.h
+++ b/include/asm-m68k/fec.h
@@ -351,4 +351,16 @@ typedef struct fec {
#define FEC_RESET_DELAY 100
#define FEC_RX_TOUT 100
+int fecpin_setclear(struct eth_device *dev, int setclear);
+
+#ifdef CONFIG_SYS_DISCOVER_PHY
+void __mii_init(void);
+uint mii_send(uint mii_cmd);
+int mii_discover_phy(struct eth_device *dev);
+int mcffec_miiphy_read(char *devname, unsigned char addr,
+ unsigned char reg, unsigned short *value);
+int mcffec_miiphy_write(char *devname, unsigned char addr,
+ unsigned char reg, unsigned short value);
+#endif
+
#endif /* fec_h */