diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-08-31 10:16:59 -0700 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-09-02 21:18:17 -0700 |
commit | 8218bd2aa68820b878a8413493ae17fd8d21f944 (patch) | |
tree | 31f044f5657a5be7d16918539c69187ea73ca180 /drivers/net | |
parent | 164846eeb25cb2a5ede7ab9371fdca7f4831a055 (diff) |
Moved initialization of IncaIP Ethernet controller to board_eth_init
Affected boards:
IncaIP
Removed initialization of the driver from net/eth.c
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/inca-ip_sw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/inca-ip_sw.c b/drivers/net/inca-ip_sw.c index d852a150fa9..492f5ce8f88 100644 --- a/drivers/net/inca-ip_sw.c +++ b/drivers/net/inca-ip_sw.c @@ -28,6 +28,7 @@ #include <malloc.h> #include <net.h> +#include <netdev.h> #include <asm/inca-ip.h> #include <asm/addrspace.h> @@ -199,7 +200,7 @@ int inca_switch_initialize(bd_t * bis) printf("Leaving inca_switch_initialize()\n"); #endif - return 1; + return 0; } |