summaryrefslogtreecommitdiff
path: root/networkconfig.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-07 22:33:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-07 22:33:32 +0000
commitea7c3bfaa28980d3afd3eb9f68f6aac30652c3e1 (patch)
treec3b1efe0d4ab7bc650cde730853186d54ea7b296 /networkconfig.h
parent1212e377d6ad522577254fd439c61b3852753507 (diff)
2007-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* networkconfig-qemu.h: Disable DHCP and use static IP. * networkconfig.h: Use only loopback so tests can run OK on any target even if they can't do anything. * networkconfig-icecube.h: New file.
Diffstat (limited to 'networkconfig.h')
-rw-r--r--networkconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/networkconfig.h b/networkconfig.h
index 945f6a2..c92a3eb 100644
--- a/networkconfig.h
+++ b/networkconfig.h
@@ -46,6 +46,7 @@ static char ethernet_address[6] = { 0x00, 0x80, 0x7F, 0x22, 0x61, 0x77 };
#endif
+#define RTEMS_USE_LOOPBACK
#ifdef RTEMS_USE_LOOPBACK
/*
* Loopback interface
@@ -95,7 +96,9 @@ static struct rtems_bsdnet_ifconfig netdriver_config = {
* Network configuration
*/
struct rtems_bsdnet_config rtems_bsdnet_config = {
+#if 0
&netdriver_config,
+#endif
#if (defined (RTEMS_USE_BOOTP))
rtems_bsdnet_do_bootp,