summaryrefslogtreecommitdiffstats
path: root/commands/net.c
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2007-11-08 12:01:52 +0100
committerJuergen Beisert <j.beisert@pengutronix.de>2007-11-08 12:01:52 +0100
commit8fe25ecf1270ab08e0b3baf5e8bae91e8f55eaa9 (patch)
treee7688eb0e6b8a5c8aba5c810719d41888c7de926 /commands/net.c
parent0a13be8de25ea2ba37f156fbfac0555125f651f3 (diff)
downloadbarebox-8fe25ecf1270ab08e0b3baf5e8bae91e8f55eaa9.tar.gz
barebox-8fe25ecf1270ab08e0b3baf5e8bae91e8f55eaa9.tar.xz
adding various doku
Diffstat (limited to 'commands/net.c')
-rw-r--r--commands/net.c27
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[])
{