From 0baeca4b09b703728f8e66b52418039fd8f8ce35 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 26 Mar 2009 11:17:41 -0400 Subject: karef/metrobox/xpedite1k: fix eth_setenv_enetaddr typos The function is called "eth_setenv_enetaddr", not "eth_putenv_enetaddr". Signed-off-by: Mike Frysinger CC: Ben Warren --- board/sandburst/karef/karef.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'board/sandburst/karef') diff --git a/board/sandburst/karef/karef.c b/board/sandburst/karef/karef.c index 55310d74567..1ad1ae25197 100644 --- a/board/sandburst/karef/karef.c +++ b/board/sandburst/karef/karef.c @@ -412,28 +412,28 @@ int misc_init_r (void) #ifdef CONFIG_HAS_ETH0 if (!eth_getenv_enetaddr("ethaddr", enetaddr)) { board_get_enetaddr(0, enetaddr); - eth_putenv_enetaddr("ethaddr", enetaddr); + eth_setenv_enetaddr("ethaddr", enetaddr); } #endif #ifdef CONFIG_HAS_ETH1 if (!eth_getenv_enetaddr("eth1addr", enetaddr)) { board_get_enetaddr(1, enetaddr); - eth_putenv_enetaddr("eth1addr", enetaddr); + eth_setenv_enetaddr("eth1addr", enetaddr); } #endif #ifdef CONFIG_HAS_ETH2 if (!eth_getenv_enetaddr("eth2addr", enetaddr)) { board_get_enetaddr(2, enetaddr); - eth_putenv_enetaddr("eth2addr", enetaddr); + eth_setenv_enetaddr("eth2addr", enetaddr); } #endif #ifdef CONFIG_HAS_ETH3 if (!eth_getenv_enetaddr("eth3addr", enetaddr)) { board_get_enetaddr(3, enetaddr); - eth_putenv_enetaddr("eth3addr", enetaddr); + eth_setenv_enetaddr("eth3addr", enetaddr); } #endif -- cgit v1.2.3