summaryrefslogtreecommitdiff
path: root/gcc/networkconfig.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-11-06 15:35:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-11-06 15:35:36 +0000
commit7127cb0d2abad770a97a6dd86a97d316fda698ce (patch)
tree4656c13e437039089fed86a423ddcb2033c87b32 /gcc/networkconfig.h
parente3d5bc5b538a58ca65dd313ddf6e6f0c88bd36d0 (diff)
2011-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* do_one: do_cleanup defaults to "no". Add initial support for Objective-C and FORTRAN. - Objective-C needs work on run-time support - FORTRAN needs to be tested * gcc_status: Use BUILDDIR not BASEDIR. * gccgo_status: Use BUILDDIR not BASEDIR. * networkconfig.h: Update. * rtems_gccgo_init.c: Switch to unlimited objects configuration. * rundeja: Add Objective-C. * test_driver: Add -C to check options and exit. Add --enable-watchdog to PPL configuration. * testsuite/ada/acats/Makefile.rtems: Correct uC5282. * gccobjc_status: New file.
Diffstat (limited to 'gcc/networkconfig.h')
-rw-r--r--gcc/networkconfig.h26
1 files changed, 2 insertions, 24 deletions
diff --git a/gcc/networkconfig.h b/gcc/networkconfig.h
index 46ae205..bf303cb 100644
--- a/gcc/networkconfig.h
+++ b/gcc/networkconfig.h
@@ -22,10 +22,9 @@
#include <bsp.h>
/*
- * Default network interface
+ * Network configuration
*/
-static struct rtems_bsdnet_ifconfig netdriver_config = {
- NULL, /* Loop back interface only */
+struct rtems_bsdnet_config rtems_bsdnet_config = {
NULL, /* Loop back interface only */
NULL, /* do not use bootp */
0, /* Default network task priority */
@@ -42,28 +41,7 @@ static struct rtems_bsdnet_ifconfig netdriver_config = {
0, /* udp_rx_buf_size */
0, /* tcp_tx_buf_size */
0 /* tcp_rx_buf_size */
-};
-/*
- * Network configuration
- */
-struct rtems_bsdnet_config rtems_bsdnet_config = {
- &netdriver_config,
- NULL, /* do not use bootp */
- 0, /* Default network task priority */
- 0, /* Default mbuf capacity */
- 0, /* Default mbuf cluster capacity */
- "localhost", /* Host name -- match expectations for 127.0.0.1 */
- "nodomain.com", /* Domain name */
- "127.0.0.1", /* Gateway */
- "127.0.0.1", /* Log host */
- {"127.0.0.1" }, /* Name server(s) */
- {"127.0.0.1" }, /* NTP server(s) */
- 0, /* sb_efficiency */
- 0, /* udp_tx_buf_size */
- 0, /* udp_rx_buf_size */
- 0, /* tcp_tx_buf_size */
- 0 /* tcp_rx_buf_size */
};
/*