mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 01:52:08 +03:00
[serial] Define constants for serial port I/O addresses
Tested with COM1 and COM2. Signed-off-by: Michael Brown <mcb30@etherboot.org>
This commit is contained in:
committed by
Michael Brown
parent
1958974d0a
commit
f51d61371f
@@ -13,7 +13,12 @@
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
#define COMCONSOLE 0x3f8 /* I/O port address */
|
||||
#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
|
||||
* LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP.
|
||||
|
||||
Reference in New Issue
Block a user