Last change
on this file since e16e8f2 was
e16e8f2,
checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago
|
bootstuff
|
-
Property mode set to
100644
|
File size:
810 bytes
|
Line | |
---|
1 | #ifndef CONFIG_SERIAL_H |
---|
2 | #define CONFIG_SERIAL_H |
---|
3 | |
---|
4 | /** @file |
---|
5 | * |
---|
6 | * Serial port configuration |
---|
7 | * |
---|
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. |
---|
11 | * |
---|
12 | */ |
---|
13 | |
---|
14 | FILE_LICENCE ( GPL2_OR_LATER ); |
---|
15 | |
---|
16 | #define COM1 0x3f8 |
---|
17 | #define COM2 0x2f8 |
---|
18 | #define COM3 0x3e8 |
---|
19 | #define COM4 0x2e8 |
---|
20 | |
---|
21 | #define COMCONSOLE COM1 /* I/O port address */ |
---|
22 | |
---|
23 | /* Keep settings from a previous user of the serial port (e.g. lilo or |
---|
24 | * LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP. |
---|
25 | */ |
---|
26 | #undef COMPRESERVE |
---|
27 | |
---|
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 |
---|
34 | |
---|
35 | #endif /* CONFIG_SERIAL_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.