change log for rtems (2011-11-07)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Nov 7 22:10:38 UTC 2011


 *joel*:
2011-11-07	Ralf Corsepius <ralf.corsepius at rtems.org>

	PR 1952/cpukit
	* libcsupport/include/rtems/libio.h: Add return code for failure when
	unable to write file.

M 1.2983  cpukit/ChangeLog
M   1.83  cpukit/libcsupport/include/rtems/libio.h

diff -u rtems/cpukit/ChangeLog:1.2982 rtems/cpukit/ChangeLog:1.2983
--- rtems/cpukit/ChangeLog:1.2982	Sun Nov  6 06:00:03 2011
+++ rtems/cpukit/ChangeLog	Mon Nov  7 15:40:25 2011
@@ -1,3 +1,9 @@
+2011-11-07	Ralf Corsepius <ralf.corsepius at rtems.org>
+
+	PR 1952/cpukit
+	* libcsupport/include/rtems/libio.h: Add return code for failure when
+	unable to write file.
+
 2011-11-06      Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	PR1945/cpukit

diff -u rtems/cpukit/libcsupport/include/rtems/libio.h:1.82 rtems/cpukit/libcsupport/include/rtems/libio.h:1.83
--- rtems/cpukit/libcsupport/include/rtems/libio.h:1.82	Sun Nov  6 05:50:21 2011
+++ rtems/cpukit/libcsupport/include/rtems/libio.h	Mon Nov  7 15:40:26 2011
@@ -1598,7 +1598,7 @@
   int    (*firstOpen)(int major, int minor, void *arg);
   int    (*lastClose)(int major, int minor, void *arg);
   int    (*pollRead)(int minor);
-  ssize_t (*write)(int minor, const char *buf, size_t len);
+  ssize_t (*write)(int minor, const unsigned char *buf, size_t len);
   int    (*setAttributes)(int minor, const struct termios *t);
   int    (*stopRemoteTx)(int minor);
   int    (*startRemoteTx)(int minor);


 *joel*:
Revert.

M 1.2984  cpukit/ChangeLog
M   1.84  cpukit/libcsupport/include/rtems/libio.h

diff -u rtems/cpukit/ChangeLog:1.2983 rtems/cpukit/ChangeLog:1.2984
--- rtems/cpukit/ChangeLog:1.2983	Mon Nov  7 15:40:25 2011
+++ rtems/cpukit/ChangeLog	Mon Nov  7 15:41:45 2011
@@ -1,9 +1,3 @@
-2011-11-07	Ralf Corsepius <ralf.corsepius at rtems.org>
-
-	PR 1952/cpukit
-	* libcsupport/include/rtems/libio.h: Add return code for failure when
-	unable to write file.
-
 2011-11-06      Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	PR1945/cpukit

diff -u rtems/cpukit/libcsupport/include/rtems/libio.h:1.83 rtems/cpukit/libcsupport/include/rtems/libio.h:1.84
--- rtems/cpukit/libcsupport/include/rtems/libio.h:1.83	Mon Nov  7 15:40:26 2011
+++ rtems/cpukit/libcsupport/include/rtems/libio.h	Mon Nov  7 15:41:45 2011
@@ -1598,7 +1598,7 @@
   int    (*firstOpen)(int major, int minor, void *arg);
   int    (*lastClose)(int major, int minor, void *arg);
   int    (*pollRead)(int minor);
-  ssize_t (*write)(int minor, const unsigned char *buf, size_t len);
+  ssize_t (*write)(int minor, const char *buf, size_t len);
   int    (*setAttributes)(int minor, const struct termios *t);
   int    (*stopRemoteTx)(int minor);
   int    (*startRemoteTx)(int minor);


 *joel* (on branch rtems-4-9-branch):
2011-11-07	Ralf Corsepius <ralf.corsepius at rtems.org>

	PR 1952/cpukit
	* libmisc/untar/untar.c: Add return code for failure when unable to
	write file.

M 1.2985  cpukit/ChangeLog
M 1.1539.2.82  cpukit/ChangeLog
M 1.2346.2.105  cpukit/ChangeLog
M   1.15  cpukit/libmisc/untar/untar.c
M 1.12.6.2  cpukit/libmisc/untar/untar.c
M 1.12.4.1  cpukit/libmisc/untar/untar.c

diff -u rtems/cpukit/ChangeLog:1.2984 rtems/cpukit/ChangeLog:1.2985
--- rtems/cpukit/ChangeLog:1.2984	Mon Nov  7 15:41:45 2011
+++ rtems/cpukit/ChangeLog	Mon Nov  7 15:42:22 2011
@@ -1,3 +1,9 @@
+2011-11-07	Ralf Corsepius <ralf.corsepius at rtems.org>
+
+	PR 1952/cpukit
+	* libmisc/untar/untar.c: Add return code for failure when unable to
+	write file.
+
 2011-11-06      Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	PR1945/cpukit

diff -u rtems/cpukit/ChangeLog:1.1539.2.81 rtems/cpukit/ChangeLog:1.1539.2.82
--- rtems/cpukit/ChangeLog:1.1539.2.81	Sun Aug 21 14:59:10 2011
+++ rtems/cpukit/ChangeLog	Mon Nov  7 15:42:43 2011
@@ -1,3 +1,9 @@
+2011-11-07	Ralf Corsepius <ralf.corsepius at rtems.org>
+
+	PR 1952/cpukit
+	* libmisc/untar/untar.c: Add return code for failure when unable to
+	write file.
+
 2011-08-21	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
 	PR 1890/cpukit

diff -u rtems/cpukit/ChangeLog:1.2346.2.104 rtems/cpukit/ChangeLog:1.2346.2.105
--- rtems/cpukit/ChangeLog:1.2346.2.104	Wed Nov  2 23:23:04 2011
+++ rtems/cpukit/ChangeLog	Mon Nov  7 15:42:34 2011
@@ -1,3 +1,9 @@
+2011-11-07	Ralf Corsepius <ralf.corsepius at rtems.org>
+
+	PR 1952/cpukit
+	* libmisc/untar/untar.c: Add return code for failure when unable to
+	write file.
+
 2011-11-03	Chris Johns <chrisj at rtems.org>
 
 	PR 1948/filesystem

diff -u rtems/cpukit/libmisc/untar/untar.c:1.14 rtems/cpukit/libmisc/untar/untar.c:1.15
--- rtems/cpukit/libmisc/untar/untar.c:1.14	Tue Aug 24 08:06:24 2010
+++ rtems/cpukit/libmisc/untar/untar.c	Mon Nov  7 15:42:22 2011
@@ -205,6 +205,7 @@
                if (n != len)
                {
                   printk("untar: Error during write\n");
+                  retval  = UNTAR_FAIL;
                   break;
                }
                ptr += 512;

diff -u rtems/cpukit/libmisc/untar/untar.c:1.12.6.1 rtems/cpukit/libmisc/untar/untar.c:1.12.6.2
--- rtems/cpukit/libmisc/untar/untar.c:1.12.6.1	Sun Oct 10 23:40:08 2010
+++ rtems/cpukit/libmisc/untar/untar.c	Mon Nov  7 15:42:37 2011
@@ -205,6 +205,7 @@
                if (n != len)
                {
                   printk("untar: Error during write\n");
+                  retval  = UNTAR_FAIL;
                   break;
                }
                ptr += 512;

diff -u rtems/cpukit/libmisc/untar/untar.c:1.12 rtems/cpukit/libmisc/untar/untar.c:1.12.4.1
--- rtems/cpukit/libmisc/untar/untar.c:1.12	Wed Sep  5 18:46:36 2007
+++ rtems/cpukit/libmisc/untar/untar.c	Mon Nov  7 15:42:45 2011
@@ -204,6 +204,7 @@
                if (n != len)
                {
                   printk("untar: Error during write\n");
+                  retval  = UNTAR_FAIL;
                   break;
                }
                ptr += 512;


 *joel*:
2011-11-07	Joel Sherrill <joel.sherrill at oarcorp.com>

	PR 1953/bsps
	* console/uarts.c: Do not use /dev/console in libchip configuration
	table. Shared driver framework selects device to use as /dev/console.

M   1.76  c/src/lib/libbsp/arm/csb337/ChangeLog
M    1.9  c/src/lib/libbsp/arm/csb337/console/uarts.c
M   1.29  c/src/lib/libbsp/arm/gumstix/ChangeLog
M    1.4  c/src/lib/libbsp/arm/gumstix/console/uarts.c

diff -u rtems/c/src/lib/libbsp/arm/csb337/ChangeLog:1.75 rtems/c/src/lib/libbsp/arm/csb337/ChangeLog:1.76
--- rtems/c/src/lib/libbsp/arm/csb337/ChangeLog:1.75	Tue Oct 18 13:26:54 2011
+++ rtems/c/src/lib/libbsp/arm/csb337/ChangeLog	Mon Nov  7 15:46:13 2011
@@ -1,3 +1,9 @@
+2011-11-07	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	PR 1953/bsps
+	* console/uarts.c: Do not use /dev/console in libchip configuration
+	table. Shared driver framework selects device to use as /dev/console.
+
 2011-10-18	Jennifer Averett <Jennifer.Averett at OARcorp.com>
 
 	PR 1917/bsps

diff -u rtems/c/src/lib/libbsp/arm/csb337/console/uarts.c:1.8 rtems/c/src/lib/libbsp/arm/csb337/console/uarts.c:1.9
--- rtems/c/src/lib/libbsp/arm/csb337/console/uarts.c:1.8	Tue Oct 18 13:26:55 2011
+++ rtems/c/src/lib/libbsp/arm/csb337/console/uarts.c	Mon Nov  7 15:46:13 2011
@@ -93,7 +93,7 @@
  */
 console_tbl Console_Configuration_Ports[] = {
   {
-    "/dev/console",    /* sDeviceName */
+    "/dev/com0",       /* sDeviceName */
     SERIAL_CUSTOM,     /* deviceType */
     &dbgu_fns,         /* pDeviceFns */
     NULL,              /* deviceProbe */

diff -u rtems/c/src/lib/libbsp/arm/gumstix/ChangeLog:1.28 rtems/c/src/lib/libbsp/arm/gumstix/ChangeLog:1.29
--- rtems/c/src/lib/libbsp/arm/gumstix/ChangeLog:1.28	Tue Oct 18 13:25:50 2011
+++ rtems/c/src/lib/libbsp/arm/gumstix/ChangeLog	Mon Nov  7 15:46:16 2011
@@ -1,3 +1,9 @@
+2011-11-07	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	PR 1953/bsps
+	* console/uarts.c: Do not use /dev/console in libchip configuration
+	table. Shared driver framework selects device to use as /dev/console.
+
 2011-10-18	Jennifer Averett <Jennifer.Averett at OARcorp.com>
 
 	PR 1917/bsps

diff -u rtems/c/src/lib/libbsp/arm/gumstix/console/uarts.c:1.3 rtems/c/src/lib/libbsp/arm/gumstix/console/uarts.c:1.4
--- rtems/c/src/lib/libbsp/arm/gumstix/console/uarts.c:1.3	Tue Oct 18 13:25:50 2011
+++ rtems/c/src/lib/libbsp/arm/gumstix/console/uarts.c	Mon Nov  7 15:46:16 2011
@@ -42,15 +42,15 @@
  */
 console_tbl Console_Configuration_Ports[] = {
     {
-        "/dev/console",    /* sDeviceName */
+        "/dev/com0",       /* sDeviceName */
         SERIAL_CUSTOM,     /* deviceType */
-        &ffuart_fns,         /* pDeviceFns */
+        &ffuart_fns,       /* pDeviceFns */
         NULL,              /* deviceProbe */
         NULL,              /* pDeviceFlow */
         0,                 /* ulMargin - NOT USED */
         0,                 /* ulHysteresis - NOT USED */
         NULL,              /* pDeviceParams */
-        FFUART_BASE,         /* ulCtrlPort1  - Pointer to DBGU regs */
+        FFUART_BASE,       /* ulCtrlPort1  - Pointer to DBGU regs */
         0,                 /* ulCtrlPort2  - NOT USED */
         0,                 /* ulDataPort  - NOT USED */
         NULL,              /* getRegister - NOT USED */


 *joel*:
2011-11-07	Joel Sherrill <joel.sherrill at oarcorp.com>

	PR 1953/bsps
	* console/uart.c: Do not use /dev/console in libchip configuration
	table. Shared driver framework selects device to use as /dev/console.

M   1.60  c/src/lib/libbsp/arm/rtl22xx/ChangeLog
M    1.9  c/src/lib/libbsp/arm/rtl22xx/console/uart.c

diff -u rtems/c/src/lib/libbsp/arm/rtl22xx/ChangeLog:1.59 rtems/c/src/lib/libbsp/arm/rtl22xx/ChangeLog:1.60
--- rtems/c/src/lib/libbsp/arm/rtl22xx/ChangeLog:1.59	Tue Oct 18 13:24:51 2011
+++ rtems/c/src/lib/libbsp/arm/rtl22xx/ChangeLog	Mon Nov  7 15:46:19 2011
@@ -1,3 +1,9 @@
+2011-11-07	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	PR 1953/bsps
+	* console/uart.c: Do not use /dev/console in libchip configuration
+	table. Shared driver framework selects device to use as /dev/console.
+
 2011-10-18	Jennifer Averett <Jennifer.Averett at OARcorp.com>
 
 	PR 1917/bsps

diff -u rtems/c/src/lib/libbsp/arm/rtl22xx/console/uart.c:1.8 rtems/c/src/lib/libbsp/arm/rtl22xx/console/uart.c:1.9
--- rtems/c/src/lib/libbsp/arm/rtl22xx/console/uart.c:1.8	Tue Oct 18 13:24:51 2011
+++ rtems/c/src/lib/libbsp/arm/rtl22xx/console/uart.c	Mon Nov  7 15:46:19 2011
@@ -70,7 +70,7 @@
  */
 console_tbl Console_Configuration_Ports[] = {
     {
-        "/dev/console",                   /* sDeviceName */
+        "/dev/com0",                      /* sDeviceName */
         SERIAL_CUSTOM,                    /* deviceType */
         &uart_fns,                        /* pDeviceFns */
         NULL,                             /* deviceProbe */



--

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/20111107/6432d5a0/attachment-0001.html>


More information about the vc mailing list