<!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-11-10)</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>2011-11-10 Sebastian Huber <sebastian.huber@embedded-brains.de>

        PR 1929/bsps
        * irq/irq_init.c: Fixed warning.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/virtex/ChangeLog.diff?r1=text&tr1=1.63&r2=text&tr2=1.64&diff_format=h">M</a></td><td width='1%'>1.64</td><td width='100%'>c/src/lib/libbsp/powerpc/virtex/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/virtex/irq/irq_init.c.diff?r1=text&tr1=1.9&r2=text&tr2=1.10&diff_format=h">M</a></td><td width='1%'>1.10</td><td width='100%'>c/src/lib/libbsp/powerpc/virtex/irq/irq_init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/virtex/ChangeLog:1.63 rtems/c/src/lib/libbsp/powerpc/virtex/ChangeLog:1.64
--- rtems/c/src/lib/libbsp/powerpc/virtex/ChangeLog:1.63        Tue Oct 18 13:34:01 2011
+++ rtems/c/src/lib/libbsp/powerpc/virtex/ChangeLog     Thu Nov 10 02:25:45 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-11-10    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       PR 1929/bsps
+       * irq/irq_init.c: Fixed warning.
+
</font> 2011-10-18        Jennifer Averett <Jennifer.Averett@OARcorp.com>
 
        PR 1917/bsps

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/virtex/irq/irq_init.c:1.9 rtems/c/src/lib/libbsp/powerpc/virtex/irq/irq_init.c:1.10
--- rtems/c/src/lib/libbsp/powerpc/virtex/irq/irq_init.c:1.9    Sun Nov 29 22:31:36 2009
+++ rtems/c/src/lib/libbsp/powerpc/virtex/irq/irq_init.c        Thu Nov 10 02:25:45 2011
</font><font color='#997700'>@@ -87,7 +87,7 @@
</font> /***********************************************************
  * High level IRQ handler called from shared_raw_irq_code_entry
  */
<font color='#880000'>-int C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
</font><font color='#000088'>+int C_dispatch_irq_handler (BSP_Exception_frame *frame, unsigned int excNum)
</font> {
 
 
</pre>
<p> </p>
<a name='cs2'></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>2011-11-10 Sebastian Huber <sebastian.huber@embedded-brains.de>

        PR 1927/bsps:
        * mpc83xx/network/tsec.c: Fixed integer truncation.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/ChangeLog.diff?r1=text&tr1=1.405&r2=text&tr2=1.406&diff_format=h">M</a></td><td width='1%'>1.406</td><td width='100%'>c/src/lib/libcpu/powerpc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.405 rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.406
--- rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.405      Tue Nov  8 04:05:50 2011
+++ rtems/c/src/lib/libcpu/powerpc/ChangeLog    Thu Nov 10 02:44:37 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-11-10    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       PR 1927/bsps:
+       * mpc83xx/network/tsec.c: Fixed integer truncation.
+
</font> 2011-11-08        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * new-exceptions/bspsupport/ppc_exc_async_normal.S: Bugfix for

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c:1.13 rtems/c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c:1.14
--- rtems/c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c:1.13  Mon Sep 26 05:03:30 2011
+++ rtems/c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c       Thu Nov 10 02:44:37 2011
</font><font color='#997700'>@@ -331,18 +331,19 @@
</font> |    <none>                                                                 |
 \*=========================================================================*/
 {
<font color='#880000'>-  static const uint8_t divider [] = { 64, 64, 96, 128, 160, 224, 320, 448 };
</font><font color='#000088'>+  static const uint8_t divider [] = { 32, 32, 48, 64, 80, 112, 160, 224 };
</font>   size_t n = sizeof(divider) / sizeof(divider [0]);
   size_t i = 0;
<font color='#880000'>-  uint32_t clock = UINT32_MAX;
</font><font color='#000088'>+  uint32_t mii_clock = UINT32_MAX;
+  uint32_t tsec_system_clock = BSP_bus_frequency / 2;
</font> 
   /* Set TSEC registers for MDIO communication */
 
   /*
    * set clock divider
    */
<font color='#880000'>-  for (i = 0; i < n && clock > 2500000; ++i) {
-    clock = BSP_bus_frequency / divider [i];
</font><font color='#000088'>+  for (i = 0; i < n && mii_clock > 2500000; ++i) {
+    mii_clock = tsec_system_clock / divider [i];
</font>   }
 
   sc->mdio_ptr->miimcfg = i;
</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>