diff options
author | Helge Deller <deller@gmx.de> | 2024-02-02 22:42:06 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-02-06 22:47:50 +0100 |
commit | 3fca4cd5ecdc8963ef025f50a8a54ad27b979873 (patch) | |
tree | 86130c33cc96d5257522a93415432b998caad999 | |
parent | 16602e67ca6958152313318bf49d91cee9fc65fc (diff) | |
download | seabios-hppa-3fca4cd5ecdc8963ef025f50a8a54ad27b979873.zip seabios-hppa-3fca4cd5ecdc8963ef025f50a8a54ad27b979873.tar.gz seabios-hppa-3fca4cd5ecdc8963ef025f50a8a54ad27b979873.tar.bz2 |
serial: Disable serial port detection on 64-bit machines
The serial ports on 64-bit machines are PCI devices only.
Skip searching on typical serial port addresses to avoid HPMCs.
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | src/serial.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/serial.c b/src/serial.c index 8813831..6858aa0 100644 --- a/src/serial.c +++ b/src/serial.c @@ -47,6 +47,9 @@ serial_setup(void) return; dprintf(3, "init serial\n"); + if (CONFIG_PARISC && has_astro) + return; + u16 count = 0; count += detect_serial(PORT_SERIAL1, 0x0a, count); count += detect_serial(PORT_SERIAL2, 0x0a, count); |