summaryrefslogtreecommitdiff
path: root/include/netdev.h
diff options
context:
space:
mode:
authorReinhard Meyer <u-boot@emk-elektronik.de>2010-09-12 16:23:49 +0200
committerBen Warren <biggerbadderben@gmail.com>2010-10-11 22:47:48 -0700
commita61a81967f57cb657dea9289a1b0810c668bf9ae (patch)
tree45cae25b889ea12999bdcad709fcbe03e71bcb94 /include/netdev.h
parentf29c181cd4a8bd39c256ac8cabb98055a9e672f3 (diff)
downloadu-boot-imx-a61a81967f57cb657dea9289a1b0810c668bf9ae.zip
u-boot-imx-a61a81967f57cb657dea9289a1b0810c668bf9ae.tar.gz
u-boot-imx-a61a81967f57cb657dea9289a1b0810c668bf9ae.tar.bz2
NET: add ENC28J60 driver using SPI framework
V3: further refinements: - use priv member instead of container method - allow setting of MAC address by write_hwaddr method - avoid shutting down link between commands Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include/netdev.h')
-rw-r--r--include/netdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netdev.h b/include/netdev.h
index 71fe805..64e5816 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -54,6 +54,8 @@ int designware_initialize(u32 id, ulong base_addr, u32 phy_addr);
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 enc28j60_initialize(unsigned int bus, unsigned int cs,
+ unsigned int max_hz, unsigned int mode);
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);