From 6a002171098e968bd5b362347d2831224fab6048 Mon Sep 17 00:00:00 2001 From: Ben Warren Date: Sat, 12 Jul 2008 00:17:50 -0700 Subject: Moved initialization of SKGE Ethernet driver to board code. The only board using this driver is the SL8245 board. Removed initialization for the driver from net/eth.c Signed-off-by: Ben Warren --- drivers/net/sk98lin/uboot_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/net/sk98lin/uboot_drv.c b/drivers/net/sk98lin/uboot_drv.c index 8b04842..205e7d2 100644 --- a/drivers/net/sk98lin/uboot_drv.c +++ b/drivers/net/sk98lin/uboot_drv.c @@ -70,7 +70,7 @@ int skge_initialize(bd_t * bis) eth_register(dev[i]); } - return numdev; + return ((numdev > 0) && (numdev <= SKGE_MAX_CARDS) ? 0 : -1); } -- cgit v1.1