<!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 rtems (2011-10-09)</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-09 Ralf Corsépius <ralf.corsepius@rtems.org>

        * libchip/network/greth.c, libchip/network/open_eth.c
        libchip/network/sonic.c: Eliminate evil typecasts.
        * libchip/network/greth.h, libchip/network/open_eth.h,
        libchip/network/sonic.h: Use void* for addresses.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/ChangeLog.diff?r1=text&tr1=1.554&r2=text&tr2=1.555&diff_format=h">M</a></td><td width='1%'>1.555</td><td width='100%'>c/src/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/libchip/network/greth.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%'>c/src/libchip/network/greth.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/libchip/network/greth.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>c/src/libchip/network/greth.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/libchip/network/open_eth.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%'>c/src/libchip/network/open_eth.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/libchip/network/open_eth.c.diff?r1=text&tr1=1.20&r2=text&tr2=1.21&diff_format=h">M</a></td><td width='1%'>1.21</td><td width='100%'>c/src/libchip/network/open_eth.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/libchip/network/sonic.h.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/libchip/network/sonic.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/libchip/network/sonic.c.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%'>c/src/libchip/network/sonic.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/ChangeLog:1.554 rtems/c/src/ChangeLog:1.555
--- rtems/c/src/ChangeLog:1.554 Tue Aug 30 08:16:35 2011
+++ rtems/c/src/ChangeLog       Sun Oct  9 10:37:53 2011
</font><font color='#997700'>@@ -1,3 +1,10 @@
</font><font color='#000088'>+2011-10-09    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * libchip/network/greth.c, libchip/network/open_eth.c
+       libchip/network/sonic.c: Eliminate evil typecasts.
+       * libchip/network/greth.h, libchip/network/open_eth.h,
+       libchip/network/sonic.h: Use void* for addresses.
+
</font> 2011-08-30        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * libchip/network/smc91111exp.h, libchip/network/smc91111.c: Use

<font color='#006600'>diff -u rtems/c/src/libchip/network/greth.h:1.6 rtems/c/src/libchip/network/greth.h:1.7
--- rtems/c/src/libchip/network/greth.h:1.6     Fri Jan 28 14:47:05 2011
+++ rtems/c/src/libchip/network/greth.h Sun Oct  9 10:37:53 2011
</font><font color='#997700'>@@ -17,7 +17,7 @@
</font> /* Configuration Information */
 
 typedef struct {
<font color='#880000'>-  uint32_t              base_address;
</font><font color='#000088'>+  void                 *base_address;
</font>   uint32_t              vector;
   uint32_t              txd_count;
   uint32_t              rxd_count;

<font color='#006600'>diff -u rtems/c/src/libchip/network/greth.c:1.12 rtems/c/src/libchip/network/greth.c:1.13
--- rtems/c/src/libchip/network/greth.c:1.12    Fri Jan 28 14:47:05 2011
+++ rtems/c/src/libchip/network/greth.c Sun Oct  9 10:37:53 2011
</font><font color='#997700'>@@ -968,7 +968,7 @@
</font>   mtu = ETHERMTU;
 
     sc->acceptBroadcast = !config->ignore_broadcast;
<font color='#880000'>-    sc->regs = (void *) chip->base_address;
</font><font color='#000088'>+    sc->regs = chip->base_address;
</font>     sc->vector = chip->vector;
     sc->txbufs = chip->txd_count;
     sc->rxbufs = chip->rxd_count;

<font color='#006600'>diff -u rtems/c/src/libchip/network/open_eth.h:1.6 rtems/c/src/libchip/network/open_eth.h:1.7
--- rtems/c/src/libchip/network/open_eth.h:1.6  Mon Jan  9 09:44:11 2006
+++ rtems/c/src/libchip/network/open_eth.h      Sun Oct  9 10:37:53 2011
</font><font color='#997700'>@@ -8,7 +8,7 @@
</font> /* Configuration Information */
 
 typedef struct {
<font color='#880000'>-  uint32_t                base_address;
</font><font color='#000088'>+  void                   *base_address;
</font>   uint32_t                vector;
   uint32_t                txd_count;
   uint32_t                rxd_count;

<font color='#006600'>diff -u rtems/c/src/libchip/network/open_eth.c:1.20 rtems/c/src/libchip/network/open_eth.c:1.21
--- rtems/c/src/libchip/network/open_eth.c:1.20 Fri Jan 28 14:47:05 2011
+++ rtems/c/src/libchip/network/open_eth.c      Sun Oct  9 10:37:53 2011
</font><font color='#997700'>@@ -734,7 +734,7 @@
</font>   mtu = ETHERMTU;
 
     sc->acceptBroadcast = !config->ignore_broadcast;
<font color='#880000'>-    sc->regs = (void *) chip->base_address;
</font><font color='#000088'>+    sc->regs = chip->base_address;
</font>     sc->vector = chip->vector;
     sc->txbufs = chip->txd_count;
     sc->rxbufs = chip->rxd_count;

<font color='#006600'>diff -u rtems/c/src/libchip/network/sonic.h:1.7 rtems/c/src/libchip/network/sonic.h:1.8
--- rtems/c/src/libchip/network/sonic.h:1.7     Tue Apr 20 05:43:39 2004
+++ rtems/c/src/libchip/network/sonic.h Sun Oct  9 10:37:53 2011
</font><font color='#997700'>@@ -81,7 +81,7 @@
</font> );
 
 typedef struct {
<font color='#880000'>-  uint32_t                base_address;
</font><font color='#000088'>+  void                   *base_address;
</font>   uint32_t                vector;
   uint32_t                dcr_value;
   uint32_t                dc2_value;

<font color='#006600'>diff -u rtems/c/src/libchip/network/sonic.c:1.16 rtems/c/src/libchip/network/sonic.c:1.17
--- rtems/c/src/libchip/network/sonic.c:1.16    Sat Aug 30 15:29:57 2008
+++ rtems/c/src/libchip/network/sonic.c Sun Oct  9 10:37:53 2011
</font><font color='#997700'>@@ -1590,7 +1590,7 @@
</font>     sc->tdaCount = chip->tda_count;
   sc->acceptBroadcast = !config->ignore_broadcast;
 
<font color='#880000'>-  sc->sonic = (void *) chip->base_address;
</font><font color='#000088'>+  sc->sonic = chip->base_address;
</font>   sc->vector = chip->vector;
   sc->dcr_value = chip->dcr_value;
   sc->dc2_value  = chip->dc2_value;
</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>