diff options
| author | Nishanth Menon <nm@ti.com> | 2009-10-16 00:06:35 -0500 | 
|---|---|---|
| committer | Ben Warren <biggerbadderben@gmail.com> | 2009-12-13 21:31:26 -0800 | 
| commit | b7ad4109da342dfc787468fc713d88d0a8b9e67a (patch) | |
| tree | 7e45d668ebcb1fa4450c2aac865b6c7cff4660ab /include/netdev.h | |
| parent | 6ac59c5518e1d2e2ef1c4b8dee99267dfbdf9cdc (diff) | |
| download | olio-uboot-2014.01-b7ad4109da342dfc787468fc713d88d0a8b9e67a.tar.xz olio-uboot-2014.01-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.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/include/netdev.h b/include/netdev.h index a91368e66..a9d5ec983 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); |