Ok. I didn't make 2.4.0 in 2000. Tough. I tried, but we had some
[davej-history.git] / include / asm-parisc / serial.h
bloba9cef8e953701f4f799a28fa9e5331a18e117aca
1 /*
2 * include/asm-parisc/serial.h
3 */
5 #include <linux/config.h>
6 #include <asm/gsc.h>
8 /*
9 * This assumes you have a 7.272727 MHz clock for your UART.
10 * The documentation implies a 40Mhz clock, and elsewhere a 7Mhz clock
11 * Clarified: 7.2727MHz on LASI. Not yet clarified for DINO
14 #define LASI_BASE_BAUD ( 7272727 / 16 )
15 #define BASE_BAUD LASI_BASE_BAUD
17 #ifdef CONFIG_SERIAL_DETECT_IRQ
18 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ)
19 #define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_AUTO_IRQ)
20 #else
21 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
22 #define STD_COM4_FLAGS ASYNC_BOOT_AUTOCONF
23 #endif
25 #ifdef CONFIG_SERIAL_MANY_PORTS
26 #define FOURPORT_FLAGS ASYNC_FOURPORT
27 #define ACCENT_FLAGS 0
28 #define BOCA_FLAGS 0
29 #define HUB6_FLAGS 0
30 #define RS_TABLE_SIZE 64
31 #else
32 #define RS_TABLE_SIZE 4
33 #endif
36 * The base is relative to the LASI base. We can fix that
37 * up later. We could also virtually map LASI so that we get
38 * nice constants all over our kernel...
41 #define STD_SERIAL_PORT_DEFNS \
42 /* UART CLK PORT IRQ FLAGS */ \
43 { 0, LASI_BASE_BAUD, -1, 4, ASYNC_SKIP_TEST, 0, PORT_UNKNOWN,}, /* ttyS0 */
45 #define SERIAL_PORT_DFNS \
46 STD_SERIAL_PORT_DEFNS