ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-parisc / serial.h
1 /*
2  * include/asm-parisc/serial.h
3  */
4
5 #include <linux/config.h>
6
7 /*
8  * This assumes you have a 7.272727 MHz clock for your UART.
9  * The documentation implies a 40Mhz clock, and elsewhere a 7Mhz clock
10  * Clarified: 7.2727MHz on LASI. Not yet clarified for DINO
11  */
12
13 #define LASI_BASE_BAUD ( 7272727 / 16 )
14 #define BASE_BAUD  LASI_BASE_BAUD
15
16 #ifdef CONFIG_SERIAL_DETECT_IRQ
17 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ)
18 #define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_AUTO_IRQ)
19 #else
20 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
21 #define STD_COM4_FLAGS ASYNC_BOOT_AUTOCONF
22 #endif
23
24 #ifdef CONFIG_SERIAL_MANY_PORTS
25 #define FOURPORT_FLAGS ASYNC_FOURPORT
26 #define ACCENT_FLAGS 0
27 #define BOCA_FLAGS 0
28 #define HUB6_FLAGS 0
29 #endif
30         
31 /*
32  * We don't use the ISA probing code, so these entries are just to reserve
33  * space.  Some example (maximal) configurations:
34  * - 712 w/ additional Lasi & RJ16 ports: 4
35  * - J5k w/ PCI serial cards: 2 + 4 * card ~= 34
36  * A500 w/ PCI serial cards: 5 + 4 * card ~= 17
37  */
38  
39 #define STD_SERIAL_PORT_DEFNS                   \
40         { 0, },         /* ttyS0 */     \
41         { 0, },         /* ttyS1 */     \
42         { 0, },         /* ttyS2 */     \
43         { 0, },         /* ttyS3 */     \
44         { 0, },         /* ttyS4 */     \
45         { 0, },         /* ttyS5 */     \
46         { 0, },         /* ttyS6 */     \
47         { 0, },         /* ttyS7 */     \
48         { 0, },         /* ttyS8 */
49
50
51 #define SERIAL_PORT_DFNS                \
52         STD_SERIAL_PORT_DEFNS
53