<!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-20)</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-20 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1940/misc:
* libchip/serial/ns16550.c: Reflect changes to console-driver.
</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.563&r2=text&tr2=1.564&diff_format=h">M</a></td><td width='1%'>1.564</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/serial/ns16550.c.diff?r1=text&tr1=1.51&r2=text&tr2=1.52&diff_format=h">M</a></td><td width='1%'>1.52</td><td width='100%'>c/src/libchip/serial/ns16550.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/ChangeLog:1.563 rtems/c/src/ChangeLog:1.564
--- rtems/c/src/ChangeLog:1.563 Wed Oct 19 11:02:12 2011
+++ rtems/c/src/ChangeLog Thu Oct 20 06:46:34 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ PR 1940/misc:
+ * libchip/serial/ns16550.c: Reflect changes to console-driver.
+
</font> 2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/smc91111.c: Use PRIxPTR to print pointers.
<font color='#006600'>diff -u rtems/c/src/libchip/serial/ns16550.c:1.51 rtems/c/src/libchip/serial/ns16550.c:1.52
--- rtems/c/src/libchip/serial/ns16550.c:1.51 Tue Oct 18 13:40:27 2011
+++ rtems/c/src/libchip/serial/ns16550.c Thu Oct 20 06:46:34 2011
</font><font color='#997700'>@@ -203,7 +203,7 @@
</font> void * arg
)
{
<font color='#880000'>- console_tbl *c = &Console_Port_Tbl [minor];
</font><font color='#000088'>+ console_tbl *c = Console_Port_Tbl [minor];
</font>
/*
* Negate DTR
<font color='#997700'>@@ -601,7 +601,7 @@
</font> NS16550_STATIC void ns16550_initialize_interrupts( int minor)
{
#if defined(BSP_FEATURE_IRQ_EXTENSION) || defined(BSP_FEATURE_IRQ_LEGACY)
<font color='#880000'>- console_tbl *c = &Console_Port_Tbl [minor];
</font><font color='#000088'>+ console_tbl *c = Console_Port_Tbl [minor];
</font> #endif
console_data *d = &Console_Port_Data [minor];
<font color='#997700'>@@ -661,7 +661,7 @@
</font> {
#if defined(BSP_FEATURE_IRQ_EXTENSION)
rtems_status_code sc = RTEMS_SUCCESSFUL;
<font color='#880000'>- console_tbl *c = &Console_Port_Tbl [minor];
</font><font color='#000088'>+ console_tbl *c = Console_Port_Tbl [minor];
</font> sc = rtems_interrupt_handler_remove(
c->ulIntVector,
ns16550_isr,
<font color='#997700'>@@ -674,7 +674,7 @@
</font> }
#elif defined(BSP_FEATURE_IRQ_LEGACY)
int rv = 0;
<font color='#880000'>- console_tbl *c = &Console_Port_Tbl [minor];
</font><font color='#000088'>+ console_tbl *c = Console_Port_Tbl [minor];
</font> rtems_irq_connect_data cd = {
.name = c->ulIntVector,
.hdl = ns16550_isr,
</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/rbtree.h (_RBTree_Container_of):
Use offsetof. Don't cast to size_t. Include <stddef.h>.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2961&r2=text&tr2=1.2962&diff_format=h">M</a></td><td width='1%'>1.2962</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/rbtree.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%'>cpukit/score/include/rtems/score/rbtree.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2961 rtems/cpukit/ChangeLog:1.2962
--- rtems/cpukit/ChangeLog:1.2961 Thu Oct 20 05:52:58 2011
+++ rtems/cpukit/ChangeLog Thu Oct 20 06:58:53 2011
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * score/include/rtems/score/rbtree.h (_RBTree_Container_of):
+ Use offsetof. Don't cast to size_t. Include <stddef.h>.
</font> * libnetworking/libc/res_mkupdate.c (res_mkupdate):
Remove unused var "sp1".
* libfs/src/dosfs/msdos_file.c (msdos_file_datasync):
<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/rbtree.h:1.6 rtems/cpukit/score/include/rtems/score/rbtree.h:1.7
--- rtems/cpukit/score/include/rtems/score/rbtree.h:1.6 Sun Aug 21 15:07:11 2011
+++ rtems/cpukit/score/include/rtems/score/rbtree.h Thu Oct 20 06:58:54 2011
</font><font color='#997700'>@@ -18,6 +18,8 @@
</font> #ifndef _RTEMS_SCORE_RBTREE_H
#define _RTEMS_SCORE_RBTREE_H
<font color='#000088'>+#include <stddef.h>
+
</font> /**
* @defgroup ScoreRBTree Red-Black Tree Handler
*
<font color='#997700'>@@ -88,8 +90,7 @@
</font> *
*/
#define _RBTree_Container_of(node,container_type, node_field_name) \
<font color='#880000'>-((container_type*) \
- ((size_t)node - ((size_t)(&((container_type *)0)->node_field_name))))
</font><font color='#000088'>+ ((container_type*) (node - offsetof(container_type,node_field_name)))
</font>
/**
* This type indicates the direction.
</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>