change log for rtems (2011-11-10)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Nov 10 09:10:23 UTC 2011


 *sh*:
2011-11-10	Sebastian Huber <sebastian.huber at embedded-brains.de>

	PR 1929/bsps
	* irq/irq_init.c: Fixed warning.

M   1.64  c/src/lib/libbsp/powerpc/virtex/ChangeLog
M   1.10  c/src/lib/libbsp/powerpc/virtex/irq/irq_init.c

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
@@ -1,3 +1,8 @@
+2011-11-10	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	PR 1929/bsps
+	* irq/irq_init.c: Fixed warning.
+
 2011-10-18	Jennifer Averett <Jennifer.Averett at OARcorp.com>
 
 	PR 1917/bsps

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
@@ -87,7 +87,7 @@
 /***********************************************************
  * High level IRQ handler called from shared_raw_irq_code_entry
  */
-int C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
+int C_dispatch_irq_handler (BSP_Exception_frame *frame, unsigned int excNum)
 {
 
 


 *sh*:
2011-11-10	Sebastian Huber <sebastian.huber at embedded-brains.de>

	PR 1927/bsps:
	* mpc83xx/network/tsec.c: Fixed integer truncation.

M  1.406  c/src/lib/libcpu/powerpc/ChangeLog
M   1.14  c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c

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
@@ -1,3 +1,8 @@
+2011-11-10	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	PR 1927/bsps:
+	* mpc83xx/network/tsec.c: Fixed integer truncation.
+
 2011-11-08	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* new-exceptions/bspsupport/ppc_exc_async_normal.S: Bugfix for

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
@@ -331,18 +331,19 @@
 |    <none>                                                                 |
 \*=========================================================================*/
 {
-  static const uint8_t divider [] = { 64, 64, 96, 128, 160, 224, 320, 448 };
+  static const uint8_t divider [] = { 32, 32, 48, 64, 80, 112, 160, 224 };
   size_t n = sizeof(divider) / sizeof(divider [0]);
   size_t i = 0;
-  uint32_t clock = UINT32_MAX;
+  uint32_t mii_clock = UINT32_MAX;
+  uint32_t tsec_system_clock = BSP_bus_frequency / 2;
 
   /* Set TSEC registers for MDIO communication */
 
   /*
    * set clock divider
    */
-  for (i = 0; i < n && clock > 2500000; ++i) {
-    clock = BSP_bus_frequency / divider [i];
+  for (i = 0; i < n && mii_clock > 2500000; ++i) {
+    mii_clock = tsec_system_clock / divider [i];
   }
 
   sc->mdio_ptr->miimcfg = i;



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111110/68e1b1da/attachment.html>


More information about the vc mailing list