|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix serial output of carriage return when
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1198076525 0
# Node ID b0c85bc56f9ef08a354499afea584c4b048068a3
# Parent e08c4cab65c85e7a3280b111956da21c5299534e
Fix serial output of carriage return when using high-bit stream muxing.
Original patch by Dan Doucette.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
xen/drivers/char/serial.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r e08c4cab65c8 -r b0c85bc56f9e xen/drivers/char/serial.c
--- a/xen/drivers/char/serial.c Wed Dec 19 14:51:02 2007 +0000
+++ b/xen/drivers/char/serial.c Wed Dec 19 15:02:05 2007 +0000
@@ -137,7 +137,7 @@ void serial_putc(int handle, char c)
spin_lock_irqsave(&port->tx_lock, flags);
if ( (c == '\n') && (handle & SERHND_COOKED) )
- __serial_putc(port, '\r');
+ __serial_putc(port, '\r' | ((handle & SERHND_HI) ? 0x80 : 0x00));
if ( handle & SERHND_HI )
c |= 0x80;
@@ -167,7 +167,7 @@ void serial_puts(int handle, const char
while ( (c = *s++) != '\0' )
{
if ( (c == '\n') && (handle & SERHND_COOKED) )
- __serial_putc(port, '\r');
+ __serial_putc(port, '\r' | ((handle & SERHND_HI) ? 0x80 : 0x00));
if ( handle & SERHND_HI )
c |= 0x80;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Fix serial output of carriage return when using high-bit stream muxing.,
Xen patchbot-unstable <=
|
|
|
|
|