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 COM1            0x3f8
00017 #define COM2            0x2f8
00018 #define COM3            0x3e8
00019 #define COM4            0x2e8
00020 
00021 #define COMCONSOLE      COM1            /* I/O port address */
00022 
00023 /* Keep settings from a previous user of the serial port (e.g. lilo or
00024  * LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP.
00025  */
00026 #undef  COMPRESERVE
00027 
00028 #ifndef COMPRESERVE
00029 #define COMSPEED        115200          /* Baud rate */
00030 #define COMDATA         8               /* Data bits */
00031 #define COMPARITY       0               /* Parity: 0=None, 1=Odd, 2=Even */
00032 #define COMSTOP         1               /* Stop bits */
00033 #endif
00034 
00035 #include <config/local/serial.h>
00036 
00037 #endif /* CONFIG_SERIAL_H */

Generated on Tue Apr 6 20:00:51 2010 for gPXE by  doxygen 1.5.7.1