diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-07-12 00:17:50 -0700 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-08-26 22:18:08 -0700 |
commit | 6a002171098e968bd5b362347d2831224fab6048 (patch) | |
tree | b7240a72ef681d611411f6950062c940a633a613 /drivers/net/sk98lin/uboot_drv.c | |
parent | 8379f42bc745eb9e4ca551a30fd2d0a63f740d75 (diff) | |
download | u-boot-imx-6a002171098e968bd5b362347d2831224fab6048.zip u-boot-imx-6a002171098e968bd5b362347d2831224fab6048.tar.gz u-boot-imx-6a002171098e968bd5b362347d2831224fab6048.tar.bz2 |
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 <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/sk98lin/uboot_drv.c')
-rw-r--r-- | drivers/net/sk98lin/uboot_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |