<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for network-demos (2010-12-08)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>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().
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/ChangeLog.diff?r1=text&tr1=1.34&r2=text&tr2=1.35&diff_format=h">M</a></td><td width='1%'>1.35</td><td width='100%'>ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/networkconfig-icecube.h.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>networkconfig-icecube.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/networkconfig-mpc8313erdb.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>networkconfig-mpc8313erdb.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/networkconfig-qemu.h.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>networkconfig-qemu.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/networkconfig.h.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>networkconfig.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u network-demos/ChangeLog:1.34 network-demos/ChangeLog:1.35
--- network-demos/ChangeLog:1.34 Fri Feb 12 11:38:30 2010
+++ network-demos/ChangeLog Wed Dec 8 04:46:45 2010
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+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().
+
</font> 2010-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* ttcp/rtems_ttcp.c: Update timeval usage.
<font color='#006600'>diff -u network-demos/networkconfig-icecube.h:1.3 network-demos/networkconfig-icecube.h:1.4
--- network-demos/networkconfig-icecube.h:1.3 Tue Feb 5 15:49:36 2008
+++ network-demos/networkconfig-icecube.h Wed Dec 8 04:46:45 2010
</font><font color='#997700'>@@ -44,32 +44,13 @@
</font> static char ethernet_address[6] = { 0x00, 0x04, 0x9F, 0x00, 0x5B, 0x21 };
#endif
<font color='#880000'>-#ifdef RTEMS_USE_LOOPBACK<span style="background-color: #FF0000"> </span>
-/*
- * Loopback interface
- */
-extern void rtems_bsdnet_loopattach();
-static struct rtems_bsdnet_ifconfig loopback_config = {
- "lo0", /* name */
- rtems_bsdnet_loopattach, /* attach function */
- NULL, /* link to next interface */
- "127.0.0.1", /* IP address */
- "255.0.0.0", /* IP net mask */
-};
-#endif
-
</font> /*
* Default network interface
*/
static struct rtems_bsdnet_ifconfig netdriver_config = {
RTEMS_BSP_NETWORK_DRIVER_NAME, /* name */
RTEMS_BSP_NETWORK_DRIVER_ATTACH, /* attach function */
<font color='#880000'>-
-#ifdef RTEMS_USE_LOOPBACK<span style="background-color: #FF0000"> </span>
- &loopback_config, /* link to next interface */
-#else
</font> NULL, /* No more interfaces */
<font color='#880000'>-#endif
</font>
#if (defined (RTEMS_USE_BOOTP))
NULL, /* BOOTP supplies IP address */
<font color='#006600'>diff -u network-demos/networkconfig-mpc8313erdb.h:1.2 network-demos/networkconfig-mpc8313erdb.h:1.3
--- network-demos/networkconfig-mpc8313erdb.h:1.2 Wed Sep 17 14:31:54 2008
+++ network-demos/networkconfig-mpc8313erdb.h Wed Dec 8 04:46:45 2010
</font><font color='#997700'>@@ -43,32 +43,13 @@
</font> static char ethernet_address[6] = { 0x00, 0x04, 0x9F, 0x00, 0x5B, 0x21 };
#endif
<font color='#880000'>-#ifdef RTEMS_USE_LOOPBACK<span style="background-color: #FF0000"> </span>
-/*
- * Loopback interface
- */
-extern void rtems_bsdnet_loopattach();
-static struct rtems_bsdnet_ifconfig loopback_config = {
- "lo0", /* name */
- rtems_bsdnet_loopattach, /* attach function */
- NULL, /* link to next interface */
- "127.0.0.1", /* IP address */
- "255.0.0.0", /* IP net mask */
-};
-#endif
-
</font> /*
* Default network interface
*/
static struct rtems_bsdnet_ifconfig netdriver_config = {
RTEMS_BSP_NETWORK_DRIVER_NAME, /* name */
RTEMS_BSP_NETWORK_DRIVER_ATTACH, /* attach function */
<font color='#880000'>-
-#ifdef RTEMS_USE_LOOPBACK<span style="background-color: #FF0000"> </span>
- &loopback_config, /* link to next interface */
-#else
</font> NULL, /* No more interfaces */
<font color='#880000'>-#endif
</font>
#if (defined (RTEMS_USE_BOOTP))
NULL, /* BOOTP supplies IP address */
<font color='#006600'>diff -u network-demos/networkconfig-qemu.h:1.6 network-demos/networkconfig-qemu.h:1.7
--- network-demos/networkconfig-qemu.h:1.6 Wed May 13 13:56:10 2009
+++ network-demos/networkconfig-qemu.h Wed Dec 8 04:46:46 2010
</font><font color='#997700'>@@ -61,9 +61,6 @@
</font> * must also define FIXED_NETMASK
* FIXED_NETMASK <undefined> IP netmask string
* (e.g. "255.255.255.0")
<font color='#880000'>- * LO_IF_ONLY <undefined> If defined, do NOT configure
- * any ethernet driver but only the
- * loopback interface.
</font> * MULTI_NETDRIVER <undefined> ugly hack; if defined try to probe
* a variety of PCI and ISA drivers
* (i386 ONLY) use is discouraged!
<font color='#997700'>@@ -140,9 +137,7 @@
</font> #define FIXED_NETMASK 0
#endif
<font color='#880000'>-#ifdef LO_IF_ONLY
-#undef NIC_NAME
-#elif !defined(NIC_NAME)
</font><font color='#000088'>+#if !defined(NIC_NAME)
</font>
#ifdef MULTI_NETDRIVER
<font color='#997700'>@@ -230,8 +225,6 @@
</font>
#endif /* ifdef MULTI_NETDRIVER */
<font color='#880000'>-#endif /* ifdef LO_IF_ONLY */
-
</font> #ifdef NIC_NAME
extern int NIC_ATTACH();
<font color='#997700'>@@ -245,30 +238,16 @@
</font> FIXED_NETMASK
}};
#else
<font color='#880000'>-#ifndef LO_IF_ONLY
-#warning "NO KNOWN NETWORK DRIVER FOR THIS BSP -- YOU MAY HAVE TO EDIT rtems_netconfig.c"
-#endif
</font><font color='#000088'>+#warning "NO KNOWN NETWORK DRIVER FOR THIS BSP -- YOU MAY HAVE TO EDIT networkconfig.h"
</font> #endif
<font color='#880000'>-extern void rtems_bsdnet_loopattach();
-static struct rtems_bsdnet_ifconfig loopback_config = {
- "lo0", /* name */
- (int (*)(struct rtems_bsdnet_ifconfig *, int))rtems_bsdnet_loopattach, /* attach function */
-#ifdef NIC_NAME
- netdriver_config, /* link to next interface */
-#else
- 0, /* link to next interface */
-#endif
- "127.0.0.1", /* IP address */
- "255.0.0.0", /* IP net mask */
-};
-
</font> struct rtems_bsdnet_config rtems_bsdnet_config = {
<font color='#880000'>- &loopback_config, /* Network interface */
</font> #ifdef NIC_NAME
<font color='#000088'>+ netdriver_config, /* link to next interface */
</font> RTEMS_DO_BOOTP, /* Use BOOTP to get network configuration */
#else
<font color='#880000'>- 0, /* Use BOOTP to get network configuration */
</font><font color='#000088'>+ 0,
+ 0,
</font> #endif
NETWORK_TASK_PRIORITY, /* Network task priority */
#if defined(MEMORY_CUSTOM)
<font color='#006600'>diff -u network-demos/networkconfig.h:1.16 network-demos/networkconfig.h:1.17
--- network-demos/networkconfig.h:1.16 Thu Sep 18 08:33:30 2008
+++ network-demos/networkconfig.h Wed Dec 8 04:46:46 2010
</font><font color='#997700'>@@ -22,33 +22,10 @@
</font> #include <bsp.h>
/*
<font color='#880000'>- * 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 */
-};
-
-/*
</font> * Network configuration
*/
struct rtems_bsdnet_config rtems_bsdnet_config = {
<font color='#880000'>- &netdriver_config,
</font><font color='#000088'>+ NULL, /* Loop back interface only */
</font> NULL, /* do not use bootp */
0, /* Default network task priority */
0, /* Default mbuf capacity */
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>