summaryrefslogtreecommitdiffstats
path: root/include/netdev.h
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2009-10-16 00:06:35 -0500
committerBen Warren <biggerbadderben@gmail.com>2009-12-13 21:31:26 -0800
commitb7ad4109da342dfc787468fc713d88d0a8b9e67a (patch)
tree7e45d668ebcb1fa4450c2aac865b6c7cff4660ab /include/netdev.h
parent6ac59c5518e1d2e2ef1c4b8dee99267dfbdf9cdc (diff)
downloadtalos-obmc-uboot-b7ad4109da342dfc787468fc713d88d0a8b9e67a.tar.gz
talos-obmc-uboot-b7ad4109da342dfc787468fc713d88d0a8b9e67a.zip
NET: LAN91C96 CONFIG_NET_MULTIify
Make the lan91c96 driver capable of CONFIG_NET_MULTI to be clean for the new arch, add a a lil detect function Most of the formatting change was done to keep checkpatch silent, but a few functions and #if 0ed code which does not make sense for NET_MULTI have been removed Now, use the lan91c96_initialize() function to init the driver Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include/netdev.h')
-rw-r--r--include/netdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netdev.h b/include/netdev.h
index a91368e666..a9d5ec9831 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -57,6 +57,7 @@ int greth_initialize(bd_t *bis);
void gt6426x_eth_initialize(bd_t *bis);
int inca_switch_initialize(bd_t *bis);
int kirkwood_egiga_initialize(bd_t *bis);
+int lan91c96_initialize(u8 dev_num, int base_addr);
int macb_eth_initialize(int id, void *regs, unsigned int phy_addr);
int mcdmafec_initialize(bd_t *bis);
int mcffec_initialize(bd_t *bis);
OpenPOWER on IntegriCloud