aboutsummaryrefslogtreecommitdiffstats
path: root/com32/sysdump/serial.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-02-07 20:06:27 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-02-07 20:06:27 -0800
commitf9cf0cd843f83ec4214ad5d5ec2e75d5a6cd89dd (patch)
treef2afa112c21ebbb802708c834643409263c1b9db /com32/sysdump/serial.h
parent17ab9b273139a1e81ced7ce1ea4f5a7fb063df00 (diff)
downloadsyslinux-f9cf0cd843f83ec4214ad5d5ec2e75d5a6cd89dd.tar.gz
syslinux-f9cf0cd843f83ec4214ad5d5ec2e75d5a6cd89dd.tar.xz
syslinux-f9cf0cd843f83ec4214ad5d5ec2e75d5a6cd89dd.zip
sysdump: make ymodem work even on a serial console
Make it possible to do a ymodem transfer even on the port used for a serial console. Furthermore, on a serial console, get the parameters from the serial console information, so port number and speed don't have to be specified. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/sysdump/serial.h')
-rw-r--r--com32/sysdump/serial.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/sysdump/serial.h b/com32/sysdump/serial.h
index be95f6c4..356f2cef 100644
--- a/com32/sysdump/serial.h
+++ b/com32/sysdump/serial.h
@@ -5,6 +5,7 @@
struct serial_if {
uint16_t port;
+ bool console;
struct {
uint8_t dll, dlm, ier, iir, lcr, mcr;
} old;