From 2da63bc3daa18eddfd580025dd35cac263cc6ddd Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 8 Dec 2010 10:46:46 +0000 Subject: 2010-12-08 Sebastian Huber * 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(). --- networkconfig.h | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'networkconfig.h') diff --git a/networkconfig.h b/networkconfig.h index 1739577..bf303cb 100644 --- a/networkconfig.h +++ b/networkconfig.h @@ -21,34 +21,11 @@ #include -/* - * 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 */ -- cgit v1.2.3