1 #ifndef CONFIG_SERIAL_H
2 #define CONFIG_SERIAL_H
6 * Serial port configuration
8 * These options affect the operation of the serial console. They
9 * take effect only if the serial console is included using the
10 * CONSOLE_SERIAL option.
14 FILE_LICENCE ( GPL2_OR_LATER );
16 #define COMCONSOLE COM1 /* I/O port address */
18 /* Keep settings from a previous user of the serial port (e.g. lilo or
19 * LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP.
24 #define COMSPEED 115200 /* Baud rate */
25 #define COMDATA 8 /* Data bits */
26 #define COMPARITY 0 /* Parity: 0=None, 1=Odd, 2=Even */
27 #define COMSTOP 1 /* Stop bits */
30 #include <config/named.h>
31 #include NAMED_CONFIG(serial.h)
32 #include <config/local/serial.h>
33 #include LOCAL_NAMED_CONFIG(serial.h)
35 #endif /* CONFIG_SERIAL_H */