summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2015-06-29 09:43:16 +0200
committerMichael Brown2015-06-29 12:04:10 +0200
commit2a696ab963fe71296d9495caed1b748f6f7d8971 (patch)
treebb6b45746dcb160819dc075d052b24bd77f958ac /src/config
parent[gdb] Use new UART abstraction in GDB serial transport (diff)
downloadipxe-2a696ab963fe71296d9495caed1b748f6f7d8971.tar.gz
ipxe-2a696ab963fe71296d9495caed1b748f6f7d8971.tar.xz
ipxe-2a696ab963fe71296d9495caed1b748f6f7d8971.zip
[serial] Use new UART abstraction in serial console driver
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.c2
-rw-r--r--src/config/serial.h5
2 files changed, 1 insertions, 6 deletions
diff --git a/src/config/config.c b/src/config/config.c
index 9cc23949..120a1d4f 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -55,7 +55,7 @@ PROVIDE_REQUIRING_SYMBOL();
REQUIRE_OBJECT ( bios_console );
#endif
#ifdef CONSOLE_SERIAL
-REQUIRE_OBJECT ( serial_console );
+REQUIRE_OBJECT ( serial );
#endif
#ifdef CONSOLE_DIRECT_VGA
REQUIRE_OBJECT ( video_subr );
diff --git a/src/config/serial.h b/src/config/serial.h
index 08368efd..27040dc5 100644
--- a/src/config/serial.h
+++ b/src/config/serial.h
@@ -13,11 +13,6 @@
FILE_LICENCE ( GPL2_OR_LATER );
-#define COM1 0x3f8
-#define COM2 0x2f8
-#define COM3 0x3e8
-#define COM4 0x2e8
-
#define COMCONSOLE COM1 /* I/O port address */
/* Keep settings from a previous user of the serial port (e.g. lilo or