summaryrefslogtreecommitdiff
path: root/networkconfig.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2010-12-08 10:46:46 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2010-12-08 10:46:46 +0000
commit2da63bc3daa18eddfd580025dd35cac263cc6ddd (patch)
tree115969dd14c0b5ecd2f2b982a4e80f177b9549e6 /networkconfig.h
parentf3d1d9619908c0d1deddecce6766f802ddedb290 (diff)
2010-12-08 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* networkconfig.h, networkconfig-qemu.h, networkconfig-icecube.h, networkconfig-mpc8313erdb.h: Loop back interface will be initialized now during normal initialization via rtems_bsdnet_initialize_network().
Diffstat (limited to 'networkconfig.h')
-rw-r--r--networkconfig.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/networkconfig.h b/networkconfig.h
index 1739577..bf303cb 100644
--- a/networkconfig.h
+++ b/networkconfig.h
@@ -22,33 +22,10 @@
#include <bsp.h>
/*
- * Loopback interface
- */
-extern int rtems_bsdnet_loopattach();
-
-/*
- * Default network interface
- */
-static struct rtems_bsdnet_ifconfig netdriver_config = {
- "lo0", /* name */
- rtems_bsdnet_loopattach, /* attach function */
- NULL, /* No more interfaces */
- "127.0.0.1", /* IP address */
- "255.0.0.0", /* IP net mask */
- NULL, /* Driver supplies hardware address */
- 0, /* Use default driver parameters */
- 0, /* default efficiency multiplier */
- 0, /* default udp TX socket buffer size */
- 0, /* default udp RX socket buffer size */
- 0, /* default tcp TX socket buffer size */
- 0, /* default tcp RX socket buffer size */
-};
-
-/*
* Network configuration
*/
struct rtems_bsdnet_config rtems_bsdnet_config = {
- &netdriver_config,
+ NULL, /* Loop back interface only */
NULL, /* do not use bootp */
0, /* Default network task priority */
0, /* Default mbuf capacity */