mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 10:02:42 +03:00
[makefile] Split config.h out into config/*.h and kill off mkconfig.pl
This commit is contained in:
28
src/config/serial.h
Normal file
28
src/config/serial.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef CONFIG_SERIAL_H
|
||||
#define CONFIG_SERIAL_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* Serial port configuration
|
||||
*
|
||||
* These options affect the operation of the serial console. They
|
||||
* take effect only if the serial console is included using the
|
||||
* CONSOLE_SERIAL option.
|
||||
*
|
||||
*/
|
||||
|
||||
#define COMCONSOLE 0x3f8 /* 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.
|
||||
*/
|
||||
#undef COMPRESERVE
|
||||
|
||||
#ifndef COMPRESERVE
|
||||
#define COMSPEED 115200 /* Baud rate */
|
||||
#define COMDATA 8 /* Data bits */
|
||||
#define COMPARITY 0 /* Parity: 0=None, 1=Odd, 2=Even */
|
||||
#define COMSTOP 1 /* Stop bits */
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_SERIAL_H */
|
||||
Reference in New Issue
Block a user