change log for rtems (2011-10-19)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Oct 19 10:12:12 UTC 2011


 *ralf*:
2011-10-19	Ralf Corsépius <ralf.corsepius at rtems.org>

	* console.c: RTEMS_DEBUG is a define, not a variable.

M  1.192  c/src/lib/libbsp/shared/ChangeLog
M   1.18  c/src/lib/libbsp/shared/console.c

diff -u rtems/c/src/lib/libbsp/shared/ChangeLog:1.191 rtems/c/src/lib/libbsp/shared/ChangeLog:1.192
--- rtems/c/src/lib/libbsp/shared/ChangeLog:1.191	Tue Oct 18 13:23:51 2011
+++ rtems/c/src/lib/libbsp/shared/ChangeLog	Wed Oct 19 04:20:28 2011
@@ -1,3 +1,7 @@
+2011-10-19	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* console.c: RTEMS_DEBUG is a define, not a variable.
+
 2011-10-18	Jennifer Averett <Jennifer.Averett at OARcorp.com>
 
 	PR 1917/bsps

diff -u rtems/c/src/lib/libbsp/shared/console.c:1.17 rtems/c/src/lib/libbsp/shared/console.c:1.18
--- rtems/c/src/lib/libbsp/shared/console.c:1.17	Tue Oct 18 13:23:51 2011
+++ rtems/c/src/lib/libbsp/shared/console.c	Wed Oct 19 04:20:28 2011
@@ -298,8 +298,9 @@
       }
 
       if (minor == Console_Port_Minor) {
-        if (RTEMS_DEBUG)
+#if defined(RTEMS_DEBUG)
           printk( "Register %s as the CONSOLE\n", port->sDeviceName );
+#endif
         status = rtems_io_register_name( "dev/console", major, minor );
         if (status != RTEMS_SUCCESSFUL) {
           printk( "Unable to register /dev/console\n" );


 *ralf*:
Remove white spaces.

M   1.19  c/src/lib/libbsp/shared/console.c
M    1.2  c/src/lib/libbsp/shared/console_control.c
M    1.2  c/src/lib/libbsp/shared/console_private.h
M    1.2  c/src/lib/libbsp/shared/console_read.c
M    1.2  c/src/lib/libbsp/shared/console_select.c
M    1.2  c/src/lib/libbsp/shared/console_write.c
M    1.5  c/src/lib/libbsp/shared/umon/tfs.h
M   1.11  c/src/lib/libbsp/shared/umon/tfsDriver.c

diff -u rtems/c/src/lib/libbsp/shared/console.c:1.18 rtems/c/src/lib/libbsp/shared/console.c:1.19
--- rtems/c/src/lib/libbsp/shared/console.c:1.18	Wed Oct 19 04:20:28 2011
+++ rtems/c/src/lib/libbsp/shared/console.c	Wed Oct 19 04:43:36 2011
@@ -50,7 +50,7 @@
   Console_Port_Tbl   = malloc( Console_Port_Count * sizeof( console_tbl * ) );
   if (Console_Port_Tbl == NULL)
     rtems_panic("No memory for console pointers");
-    
+
   for (i=0 ; i < Console_Port_Count ; i++)
     Console_Port_Tbl[i] = &Console_Configuration_Ports[i];
 }
@@ -103,7 +103,7 @@
   /*
    *  Now add the new devices at the end.
    */
-  
+
   for (i=0 ; i < number_of_ports ; i++) {
     Console_Port_Tbl[old_number_of_ports + i] = &new_ports[i];
   }

diff -u rtems/c/src/lib/libbsp/shared/console_control.c:1.1 rtems/c/src/lib/libbsp/shared/console_control.c:1.2
--- rtems/c/src/lib/libbsp/shared/console_control.c:1.1	Tue Oct 18 13:23:51 2011
+++ rtems/c/src/lib/libbsp/shared/console_control.c	Wed Oct 19 04:43:36 2011
@@ -8,7 +8,7 @@
 
 
 /*
- *  This file is an extension of the generic console driver 
+ *  This file is an extension of the generic console driver
  *  shell used by all console drivers using libchip.
  *
  *  COPYRIGHT (c) 1989-2011.

diff -u rtems/c/src/lib/libbsp/shared/console_private.h:1.1 rtems/c/src/lib/libbsp/shared/console_private.h:1.2
--- rtems/c/src/lib/libbsp/shared/console_private.h:1.1	Tue Oct 18 13:23:51 2011
+++ rtems/c/src/lib/libbsp/shared/console_private.h	Wed Oct 19 04:43:36 2011
@@ -55,19 +55,19 @@
  *  @return This method returns the character that
  *    was retrieved from the console port.
  */
-extern int bsp_com_inch(void); 
+extern int bsp_com_inch(void);
 
 /**
- *  @brief 
+ *  @brief
  *
- *  This function 
+ *  This function
  *
- *  @return This method returns 
+ *  @return This method returns
  */
 int vt_ioctl( unsigned int cmd, unsigned long arg);
 
 /**
- *  @brief console_register_devices 
+ *  @brief console_register_devices
  *
  *  This function expands the console table to include previous
  *  ports and the array of new ports specified.

diff -u rtems/c/src/lib/libbsp/shared/console_read.c:1.1 rtems/c/src/lib/libbsp/shared/console_read.c:1.2
--- rtems/c/src/lib/libbsp/shared/console_read.c:1.1	Tue Oct 18 13:23:51 2011
+++ rtems/c/src/lib/libbsp/shared/console_read.c	Wed Oct 19 04:43:36 2011
@@ -7,7 +7,7 @@
  */
 
 /*
- *  This file is an extension of the generic console driver 
+ *  This file is an extension of the generic console driver
  *  shell used by all console drivers using libchip.
  *
  *  COPYRIGHT (c) 1989-2011.

diff -u rtems/c/src/lib/libbsp/shared/console_select.c:1.1 rtems/c/src/lib/libbsp/shared/console_select.c:1.2
--- rtems/c/src/lib/libbsp/shared/console_select.c:1.1	Tue Oct 18 13:23:51 2011
+++ rtems/c/src/lib/libbsp/shared/console_select.c	Wed Oct 19 04:43:36 2011
@@ -3,11 +3,11 @@
  *
  * @ingroup Console
  *
- * @brief Generic libchip console select 
+ * @brief Generic libchip console select
  */
 
 /*
- *  This file contains a routine to select the 
+ *  This file contains a routine to select the
  *  console based upon a number of criteria.
  *
  *  COPYRIGHT (c) 2011.
@@ -44,7 +44,7 @@
    */
   if ((!cptr->deviceProbe || cptr->deviceProbe(minor)) &&
        cptr->pDeviceFns->deviceProbe(minor)) {
-    return true; 
+    return true;
   }
   return false;
 }
@@ -71,7 +71,7 @@
   }
 
   /*
-   *  Error No devices were found.  We will want to bail here. 
+   *  Error No devices were found.  We will want to bail here.
    */
   rtems_fatal_error_occurred(RTEMS_IO_ERROR);
 }
@@ -80,9 +80,9 @@
 {
 
   /*
-   *  Reset Console_Port_Minor and 
+   *  Reset Console_Port_Minor and
    *  BSPPrintkPort here if desired.
-   *  
+   *
    *  This default version allows the bsp to set these
    *  values at creation and will not touch them again
    *  unless the selected port number is not available.

diff -u rtems/c/src/lib/libbsp/shared/console_write.c:1.1 rtems/c/src/lib/libbsp/shared/console_write.c:1.2
--- rtems/c/src/lib/libbsp/shared/console_write.c:1.1	Tue Oct 18 13:23:51 2011
+++ rtems/c/src/lib/libbsp/shared/console_write.c	Wed Oct 19 04:43:36 2011
@@ -7,7 +7,7 @@
  */
 
 /*
- *  This file is an extension of the generic console driver 
+ *  This file is an extension of the generic console driver
  *  shell used by all console drivers using libchip.
  *
  *  COPYRIGHT (c) 1989-2011.

diff -u rtems/c/src/lib/libbsp/shared/umon/tfs.h:1.4 rtems/c/src/lib/libbsp/shared/umon/tfs.h:1.5
--- rtems/c/src/lib/libbsp/shared/umon/tfs.h:1.4	Fri Dec  4 12:24:58 2009
+++ rtems/c/src/lib/libbsp/shared/umon/tfs.h	Wed Oct 19 04:43:36 2011
@@ -1,5 +1,5 @@
 /*
- *  tfs.h - Header file for TFS transactions, used by both application and 
+ *  tfs.h - Header file for TFS transactions, used by both application and
  *  monnitor.
  *
  *  Based upon code from MicroMonitor 1.17 from http://www.umonfw.com/

diff -u rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.10 rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.11
--- rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.10	Tue Jul 27 06:55:05 2010
+++ rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c	Wed Oct 19 04:43:36 2011
@@ -168,7 +168,7 @@
 
   if (rtems_filesystem_register( "tfs", rtems_tfs_mount_me ) < 0)
     return -1;
-  
+
   status = mount( "umon", TFS_PATHNAME_PREFIX, "tfs", RTEMS_FILESYSTEM_READ_WRITE, NULL);
 
   if (status < 0) {



--

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/20111019/602055d6/attachment-0001.html>


More information about the vc mailing list