summaryrefslogtreecommitdiff
path: root/drivers/net/netarm_eth.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-01-25 07:54:47 +0100
committerWolfgang Denk <wd@denx.de>2008-02-14 01:11:00 +0100
commit1b769881750030f10743808b9d6013e11f559350 (patch)
treee0dd6eff6a904307be295c1c9f5a900fde589096 /drivers/net/netarm_eth.c
parent0c9d42e6b0b83d507335a291e3ea99240038f4b9 (diff)
downloadu-boot-imx-1b769881750030f10743808b9d6013e11f559350.zip
u-boot-imx-1b769881750030f10743808b9d6013e11f559350.tar.gz
u-boot-imx-1b769881750030f10743808b9d6013e11f559350.tar.bz2
Fix remaining CONFIG_COMMANDS
update comments Fix coding style Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/net/netarm_eth.c')
-rw-r--r--drivers/net/netarm_eth.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/netarm_eth.c b/drivers/net/netarm_eth.c
index a99ee5d..ecf45dc 100644
--- a/drivers/net/netarm_eth.c
+++ b/drivers/net/netarm_eth.c
@@ -29,7 +29,6 @@
#include "netarm_eth.h"
#include <asm/arch/netarm_registers.h>
-
#if defined(CONFIG_CMD_NET)
static int na_mii_poll_busy (void);
@@ -56,7 +55,6 @@ static void na_get_mac_addr (void)
setenv ("ethaddr", ethaddr);
}
-
static void na_mii_write (int reg, int value)
{
int mii_addr;
@@ -355,6 +353,6 @@ extern int eth_send (volatile void *packet, int length)
return 1;
}
-#endif /* COMMANDS & CFG_NET */
+#endif /* CONFIG_CMD_NET */
#endif /* CONFIG_DRIVER_NETARMETH */