summaryrefslogtreecommitdiffstats
path: root/ttcp
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-30 22:38:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-30 22:38:15 +0000
commit9399732183f7e5828a2d44dc44863224c4e49d10 (patch)
tree392df29de35352f028178d756e4156f654322d55 /ttcp
parentNew files. (diff)
downloadnetwork-demos-9399732183f7e5828a2d44dc44863224c4e49d10.tar.bz2
Switched to using a single usercfg.h file.
Diffstat (limited to 'ttcp')
-rw-r--r--ttcp/init.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/ttcp/init.c b/ttcp/init.c
index 7d19353..e3fdd99 100644
--- a/ttcp/init.c
+++ b/ttcp/init.c
@@ -13,6 +13,8 @@
* eric@skatter.usask.ca
*/
+#include "../usercfg.h"
+
/*#define TRACE_SCC1 1 */
#include <bsp.h>
@@ -35,26 +37,8 @@ rtems_task Init (rtems_task_argument argument);
#include <stdio.h>
#include <rtems_ka9q.h>
-/*
- * Board ethernet address
- * REPLACE THIS WITH YOUR OWN VALUE BEFORE TRYING TO USE THIS PROGRAM!
- */
-#define MY_ETHERNET_ADDRESS "3B:1D:3E:21:E2:D5"
-#define MY_ETHERNET_ADDRESS "prom"
-
-/*
- * Use BOOTP to get information about me?
- */
-#define USE_BOOTP 1
-
#if (defined (USE_BOOTP))
#include <bootp.h>
-#else
-/*
- * Information about me if BOOTP isn't used
- * CHOOSE A VALUE APPROPRIATE TO YOUR NETWORK!
- */
-#define MY_IP_ADDRESS "128.233.14.68"
#endif
/*