<!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-18)</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>jennifer</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* user/conf.t: Added a bsp override option for MAXIMUM_DEVICES.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/doc/ChangeLog.diff?r1=text&tr1=1.320&r2=text&tr2=1.321&diff_format=h">M</a></td><td width='1%'>1.321</td><td width='100%'>doc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/doc/user/conf.t.diff?r1=text&tr1=1.74&r2=text&tr2=1.75&diff_format=h">M</a></td><td width='1%'>1.75</td><td width='100%'>doc/user/conf.t</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/doc/ChangeLog:1.320 rtems/doc/ChangeLog:1.321
--- rtems/doc/ChangeLog:1.320 Mon Oct 31 08:46:43 2011
+++ rtems/doc/ChangeLog Fri Nov 18 14:04:02 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-11-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
+
+ * user/conf.t: Added a bsp override option for MAXIMUM_DEVICES.
+
</font> 2011-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1947/doc
<font color='#006600'>diff -u rtems/doc/user/conf.t:1.74 rtems/doc/user/conf.t:1.75
--- rtems/doc/user/conf.t:1.74 Wed Oct 5 14:59:47 2011
+++ rtems/doc/user/conf.t Fri Nov 18 14:04:02 2011
</font><font color='#997700'>@@ -537,7 +537,10 @@
</font> @findex CONFIGURE_MAXIMUM_DEVICES
@item @code{CONFIGURE_MAXIMUM_DEVICES} is defined
to the number of individual devices that may be registered
<font color='#880000'>-in the system. By default, this is set to 4.
</font><font color='#000088'>+in the system. Unless @code{BSP_MAXIMUM_DEVICES} is set
+by the BSP, the default value for this is set to 4.
+If overridden by the BSP the value is set to the value
+specified by the BSP.
</font>
@findex CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
@item @code{CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER}
</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>jennifer</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* sapi/include/confdefs.h: Added a bsp override option for
MAXIMUM_DEVICES.
</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.2991&r2=text&tr2=1.2992&diff_format=h">M</a></td><td width='1%'>1.2992</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/sapi/include/confdefs.h.diff?r1=text&tr1=1.174&r2=text&tr2=1.175&diff_format=h">M</a></td><td width='1%'>1.175</td><td width='100%'>cpukit/sapi/include/confdefs.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2991 rtems/cpukit/ChangeLog:1.2992
--- rtems/cpukit/ChangeLog:1.2991 Thu Nov 10 09:36:55 2011
+++ rtems/cpukit/ChangeLog Fri Nov 18 14:04:39 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-11-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
+
+ * sapi/include/confdefs.h: Added a bsp override option for
+ MAXIMUM_DEVICES.
+
</font> 2011-11-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/include/rtems/rtems/event.h: Revert parameter name change.
<font color='#006600'>diff -u rtems/cpukit/sapi/include/confdefs.h:1.174 rtems/cpukit/sapi/include/confdefs.h:1.175
--- rtems/cpukit/sapi/include/confdefs.h:1.174 Thu Nov 10 08:40:13 2011
+++ rtems/cpukit/sapi/include/confdefs.h Fri Nov 18 14:04:49 2011
</font><font color='#997700'>@@ -418,14 +418,24 @@
</font>
#ifdef CONFIGURE_INIT
<font color='#880000'>- /*
</font><font color='#000088'>+ /**
</font> * DEVFS variables.
<font color='#000088'>+ *
+ * The number of individual devices that may be registered
+ * in the system or the CONFIGURE_MAXIMUM_DEVICES variable
+ * is defaulted to 4 when a filesystem is enabled, unless
+ * the bsp overwrides this. In which case the value is set
+ * to BSP_MAXIMUM_DEVICES.
</font> */
#if defined(CONFIGURE_APPLICATION_DISABLE_FILESYSTEM)
#define CONFIGURE_MEMORY_FOR_DEVFS 0
#elif defined(CONFIGURE_FILESYSTEM_DEVFS)
#ifndef CONFIGURE_MAXIMUM_DEVICES
<font color='#880000'>- #define CONFIGURE_MAXIMUM_DEVICES 4
</font><font color='#000088'>+ #if defined(BSP_MAXIMUM_DEVICES)
+ #define CONFIGURE_MAXIMUM_DEVICES BSP_MAXIMUM_DEVICES
+ #else
+ #define CONFIGURE_MAXIMUM_DEVICES 4
+ #endif
</font> #endif
#include <rtems/devfs.h>
uint32_t rtems_device_table_size = CONFIGURE_MAXIMUM_DEVICES;
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>jennifer</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* console.c: Added a some error checks and fixed a error message.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/shared/ChangeLog.diff?r1=text&tr1=1.197&r2=text&tr2=1.198&diff_format=h">M</a></td><td width='1%'>1.198</td><td width='100%'>c/src/lib/libbsp/shared/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/shared/console.c.diff?r1=text&tr1=1.21&r2=text&tr2=1.22&diff_format=h">M</a></td><td width='1%'>1.22</td><td width='100%'>c/src/lib/libbsp/shared/console.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/shared/ChangeLog:1.197 rtems/c/src/lib/libbsp/shared/ChangeLog:1.198
--- rtems/c/src/lib/libbsp/shared/ChangeLog:1.197 Thu Nov 10 08:42:08 2011
+++ rtems/c/src/lib/libbsp/shared/ChangeLog Fri Nov 18 14:08:14 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-11-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
+
+ * console.c: Added a some error checks and fixed a error message.
+
</font> 2011-11-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1924/cpukit
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/shared/console.c:1.21 rtems/c/src/lib/libbsp/shared/console.c:1.22
--- rtems/c/src/lib/libbsp/shared/console.c:1.21 Mon Nov 7 02:20:26 2011
+++ rtems/c/src/lib/libbsp/shared/console.c Fri Nov 18 14:08:15 2011
</font><font color='#997700'>@@ -292,15 +292,18 @@
</font> if ( (!port->deviceProbe || port->deviceProbe(minor)) &&
port->pDeviceFns->deviceProbe(minor)) {
<font color='#880000'>- status = rtems_io_register_name( port->sDeviceName, major, minor );
- if (status != RTEMS_SUCCESSFUL) {
- printk( "Unable to register /dev/console\n" );
- rtems_fatal_error_occurred(status);
</font><font color='#000088'>+ if (port->sDeviceName != NULL) {
+ status = rtems_io_register_name( port->sDeviceName, major, minor );
+ if (status != RTEMS_SUCCESSFUL) {
+ printk( "Unable to register %s\n", port->sDeviceName );
+ rtems_fatal_error_occurred(status);
+ }
</font> }
if (minor == Console_Port_Minor) {
#if defined(RTEMS_DEBUG)
<font color='#880000'>- printk( "Register %s as the CONSOLE\n", port->sDeviceName );
</font><font color='#000088'>+ if (port->sDeviceName != NULL)
+ printk( "Register %s as the CONSOLE\n", port->sDeviceName );
</font> #endif
status = rtems_io_register_name( "dev/console", major, minor );
if (status != RTEMS_SUCCESSFUL) {
</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>