summaryrefslogtreecommitdiff
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
parent2ddb68f75e460570602e53c37eee74af42cd86e7 (diff)
Switched to using a single usercfg.h file.
-rw-r--r--tftpTest/init.c9
-rw-r--r--ttcp/init.c20
2 files changed, 4 insertions, 25 deletions
diff --git a/tftpTest/init.c b/tftpTest/init.c
index d4b6100..34df675 100644
--- a/tftpTest/init.c
+++ b/tftpTest/init.c
@@ -13,6 +13,8 @@
* eric@skatter.usask.ca
*/
+#include "../usercfg.h"
+
#include <bsp.h>
#include <rtems/error.h>
#include <tftp.h>
@@ -40,13 +42,6 @@ rtems_driver_address_table Device_drivers[] = {
#include <confdefs.h>
-/*
- * Board ethernet address
- * REPLACE THIS WITH YOUR OWN VALUE BEFORE TRYING TO USE THIS PROGRAM!
- */
-#define MY_ETHERNET_ADDRESS "48:3E:3E:21:2E:D5"
-#define MY_ETHERNET_ADDRESS "prom"
-
#include <bootp.h>
extern void testTFTP (void);
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
/*