iPXE
serial.h
Go to the documentation of this file.
00001 #ifndef CONFIG_SERIAL_H
00002 #define CONFIG_SERIAL_H
00003 
00004 /** @file
00005  *
00006  * Serial port configuration
00007  *
00008  * These options affect the operation of the serial console.  They
00009  * take effect only if the serial console is included using the
00010  * CONSOLE_SERIAL option.
00011  *
00012  */
00013 
00014 FILE_LICENCE ( GPL2_OR_LATER );
00015 
00016 #define COMCONSOLE      COM1            /* I/O port address */
00017 
00018 /* Keep settings from a previous user of the serial port (e.g. lilo or
00019  * LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP.
00020  */
00021 #undef  COMPRESERVE
00022 
00023 #ifndef COMPRESERVE
00024 #define COMSPEED        115200          /* Baud rate */
00025 #define COMDATA         8               /* Data bits */
00026 #define COMPARITY       0               /* Parity: 0=None, 1=Odd, 2=Even */
00027 #define COMSTOP         1               /* Stop bits */
00028 #endif
00029 
00030 #include <config/named.h>
00031 #include NAMED_CONFIG(serial.h)
00032 #include <config/local/serial.h>
00033 #include LOCAL_NAMED_CONFIG(serial.h)
00034 
00035 #endif /* CONFIG_SERIAL_H */