diff options
Diffstat (limited to 'commands/net.c')
-rw-r--r-- | commands/net.c | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/commands/net.c b/commands/net.c index d12559e13f..b9c372a712 100644 --- a/commands/net.c +++ b/commands/net.c @@ -1,6 +1,4 @@ /* - * tftp, rarpboot, dhcp, nfs, cdp - Boot support - * * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * @@ -23,6 +21,11 @@ * MA 02111-1307 USA */ +/** + * @file + * @brief tftp, rarpboot, dhcp, nfs, cdp - Boot support + */ + #include <common.h> #include <command.h> #include <environment.h> @@ -102,6 +105,16 @@ U_BOOT_CMD_START(tftp) U_BOOT_CMD_HELP(cmd_tftp_help) U_BOOT_CMD_END +/** + * @page tftp_command tftp + * + * Usage is: tftp \<filename\> [\<localfilename\>] + * + * Load a file via network using BootP/TFTP protocol. FIXME: Where to find it + * after loading? + * @note This command is available only, if enabled in the menuconfig. + */ + #ifdef CONFIG_NET_RARP static int do_rarpb (cmd_tbl_t *cmdtp, int argc, char *argv[]) { @@ -116,6 +129,16 @@ U_BOOT_CMD_START(rarpboot) U_BOOT_CMD_END #endif /* CONFIG_NET_RARP */ +/** + * @page rarp_command rarp + * + * Usage is: FIXME + * + * Load a file via network using rarp/tftp protocol. FIXME: Where to find it + * after loading? + * @note This command is available only, if enabled in the menuconfig. + */ + #ifdef CONFIG_NET_DHCP static int do_dhcp (cmd_tbl_t *cmdtp, int argc, char *argv[]) { |