diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-11-03 08:40:57 +0100 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-11-03 16:02:45 -0400 |
commit | 0ca6d6277dfafc671a5b3718cbeb5c78e2a888ea (patch) | |
tree | 6706ea4c46be9ce4169af84f925c989d02892238 | |
parent | 488e1c3fef2e789d38a5190baae977131a911fa7 (diff) | |
download | seabios-0ca6d6277dfafc671a5b3718cbeb5c78e2a888ea.tar.gz |
sercon: Disable ScreenAndDebug in case both serial console and serial debug are active
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | src/sercon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sercon.c b/src/sercon.c index 5d27051e..a5dadb72 100644 --- a/src/sercon.c +++ b/src/sercon.c @@ -521,6 +521,10 @@ void sercon_setup(void) return; dprintf(1, "sercon: using ioport 0x%x\n", addr); + if (CONFIG_DEBUG_SERIAL) + if (addr == CONFIG_DEBUG_SERIAL_PORT) + ScreenAndDebug = 0; + vgabios = GET_IVT(0x10); seabios = FUNC16(entry_10); if (vgabios.seg != seabios.seg || |