[tcp] Enable AF_INET6 transport for tcp connections
[gpxe.git] / src / config / serial.h
blob8bb9311f15760fc7682cb11cedab89a03dfa86ad
1 #ifndef CONFIG_SERIAL_H
2 #define CONFIG_SERIAL_H
4 /** @file
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 COM1 0x3f8
17 #define COM2 0x2f8
18 #define COM3 0x3e8
19 #define COM4 0x2e8
21 #define COMCONSOLE COM1 /* I/O port address */
23 /* Keep settings from a previous user of the serial port (e.g. lilo or
24 * LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP.
26 #undef COMPRESERVE
28 #ifndef COMPRESERVE
29 #define COMSPEED 115200 /* Baud rate */
30 #define COMDATA 8 /* Data bits */
31 #define COMPARITY 0 /* Parity: 0=None, 1=Odd, 2=Even */
32 #define COMSTOP 1 /* Stop bits */
33 #endif
35 #include <config/local/serial.h>
37 #endif /* CONFIG_SERIAL_H */