summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2010-04-15 22:32:38 +0800
committerBen Warren <biggerbadderben@gmail.com>2010-05-03 14:52:49 -0700
commitf6569884b45e480e2c575d85ce86a2636a41c66b (patch)
treefe6bf9b8db1c6892e87794ecc7b2a1e50d9b7994 /include
parentbd75db3feb9a8e4123b76006dbe582b71adbf22f (diff)
downloadu-boot-imx-f6569884b45e480e2c575d85ce86a2636a41c66b.zip
u-boot-imx-f6569884b45e480e2c575d85ce86a2636a41c66b.tar.gz
u-boot-imx-f6569884b45e480e2c575d85ce86a2636a41c66b.tar.bz2
net: add opencore 10/100 ethernet mac driver
This patch ports the opencore 10/100 ethernet mac driver ethoc.c from linux kernel to u-boot. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/netdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netdev.h b/include/netdev.h
index 1dd80f0..605edf1 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -51,6 +51,7 @@ int dnet_eth_initialize(int id, void *regs, unsigned int phy_addr);
int e1000_initialize(bd_t *bis);
int eepro100_initialize(bd_t *bis);
int ep93xx_eth_initialize(u8 dev_num, int base_addr);
+int ethoc_initialize(u8 dev_num, int base_addr);
int eth_3com_initialize (bd_t * bis);
int fec_initialize (bd_t *bis);
int fecmxc_initialize (bd_t *bis);