[syslinux:master] sysdump: use the same serial receive threshold as the core

syslinux-bot for H. Peter Anvin hpa at zytor.com
Sun Feb 7 20:12:07 PST 2010


Commit-ID:  1a3d65ddc2b1ac48d798ae9a01de590678959175
Gitweb:     http://syslinux.zytor.com/commit/1a3d65ddc2b1ac48d798ae9a01de590678959175
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Sun, 7 Feb 2010 20:08:46 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Sun, 7 Feb 2010 20:08:46 -0800

sysdump: use the same serial receive threshold as the core

Match the core with regards to the serial receive threshold.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 com32/sysdump/serial.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/com32/sysdump/serial.c b/com32/sysdump/serial.c
index e12d7bd..a398753 100644
--- a/com32/sysdump/serial.c
+++ b/com32/sysdump/serial.c
@@ -108,7 +108,7 @@ int serial_init(struct serial_if *sif, const char *argv[])
     }
 
     /* Enable 16550A FIFOs if available */
-    outb(0x41, port + FCR);	/* Enable FIFO */
+    outb(0x01, port + FCR);	/* Enable FIFO */
     (void)inb(port + IER);	/* Synchronize */
     if (inb(port + IIR) < 0xc0)
 	outb(0x00, port + FCR);	/* Disable FIFOs if non-functional */



More information about the Syslinux-commits mailing list