summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-05-09 21:38:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-05-09 21:38:58 +0000
commit1a1b67043e8d35551da1390d6d2d0cafe40c242c (patch)
tree7c2e1bd4abd79952ff0dbb13e7250f64a8f7a1c5
parente6e9e637d189d0f52999dfbeecdaa24e0116514b (diff)
Updated significantly.
-rw-r--r--netdemo/README6
-rw-r--r--networkconfig.h9
-rw-r--r--tftpTest/test.c2
3 files changed, 13 insertions, 4 deletions
diff --git a/netdemo/README b/netdemo/README
index 143b7b6..17a06d6 100644
--- a/netdemo/README
+++ b/netdemo/README
@@ -2,14 +2,14 @@
# $Id$
#
-A simple application to test some of the KA9Q networking code.
+A simple application to test some of the RTEMS/FreeBSD networking code.
**************************
* NOTES *
**************************
-1. Make sure you change the definition of MY_ETHERNET_ADDRESS in init.c
- before you try to use this program.
+1. Make sure you change the definition of MY_ETHERNET_ADDRESS in
+ networkconfig.h before you try to use this program.
2. If you do not use BOOTP (i.e. the `#define USE_BOOTP 1' in init.c is
removed), make sure you change the definition of MY_INTERNET_ADDRESS
diff --git a/networkconfig.h b/networkconfig.h
index 93a1c0b..bf6ce17 100644
--- a/networkconfig.h
+++ b/networkconfig.h
@@ -12,6 +12,14 @@
#ifndef _RTEMS_NETWORKCONFIG_H_
#define _RTEMS_NETWORKCONFIG_H_
+/*
+ * The following will normally be set by the BSP if it supports
+ * a single network device driver. In the event, it supports
+ * multiple network device drivers, then the user's default
+ * network device driver will have to be selected by a BSP
+ * specific mechanism.
+ */
+
#ifndef RTEMS_BSP_NETWORK_DRIVER_NAME
#warning "RTEMS_BSP_NETWORK_DRIVER_NAME is not defined"
#define RTEMS_BSP_NETWORK_DRIVER_NAME "no_network1"
@@ -31,6 +39,7 @@
* Ethernet address here. If RTEMS_SET_ETHERNET_ADDRESS is not
* defined the driver will choose an address.
*/
+
#define RTEMS_SET_ETHERNET_ADDRESS
#if (defined (RTEMS_SET_ETHERNET_ADDRESS))
/* static char ethernet_address[6] = { 0x08, 0x00, 0x3e, 0x12, 0x28, 0xb1 }; */
diff --git a/tftpTest/test.c b/tftpTest/test.c
index 7cbb988..75e4666 100644
--- a/tftpTest/test.c
+++ b/tftpTest/test.c
@@ -1,5 +1,5 @@
/*
- * Test RTEMS/KA9Q TFTP device driver
+ * Test RTEMS TFTP Client Filesystem
*
* This program may be distributed and used for any purpose.
* I ask only that you: