diff options
author | Juergen Beisert <jbe@isonoe.(none)> | 2007-10-16 19:07:21 +0200 |
---|---|---|
committer | Juergen Beisert <jbe@isonoe.(none)> | 2007-10-16 19:07:21 +0200 |
commit | 26def3fd2c20cdb0c85fc721325c1b954d7bbc05 (patch) | |
tree | d71ed10cd95598b575bd9db9bbc04373f9c25ed6 /commands/net.c | |
parent | fa814e8fae23377d1eb67f76b4e64656cf530e5a (diff) | |
download | barebox-26def3fd2c20cdb0c85fc721325c1b954d7bbc05.tar.gz barebox-26def3fd2c20cdb0c85fc721325c1b954d7bbc05.tar.xz |
various small typos fixed
Diffstat (limited to 'commands/net.c')
-rw-r--r-- | commands/net.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/commands/net.c b/commands/net.c index 8fb100a959..d12559e13f 100644 --- a/commands/net.c +++ b/commands/net.c @@ -1,4 +1,6 @@ /* + * tftp, rarpboot, dhcp, nfs, cdp - Boot support + * * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * @@ -21,9 +23,6 @@ * MA 02111-1307 USA */ -/* - * Boot support - */ #include <common.h> #include <command.h> #include <environment.h> @@ -132,7 +131,7 @@ static int do_dhcp (cmd_tbl_t *cmdtp, int argc, char *argv[]) } U_BOOT_CMD_START(dhcp) - .maxargs = 3, + .maxargs = 1, .cmd = do_dhcp, .usage = "invoke dhcp client to obtain ip/boot params", U_BOOT_CMD_END @@ -201,7 +200,7 @@ netboot_common (proto_t proto, cmd_tbl_t *cmdtp, int argc, char *argv[]) return rcode; } -#if (CONFIG_COMMANDS & CFG_CMD_CDP) +#ifdef CONFIG_NET_CDP static void cdp_update_env(void) { @@ -245,4 +244,4 @@ U_BOOT_CMD_START(cdp) U_BOOT_CMD_HELP("[loadAddress] [host ip addr:bootfilename]\n") U_BOOT_CMD_END -#endif /* CFG_CMD_CDP */ +#endif /* CONFIG_NET_CDP */ |