ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-arm / arch-rpc / serial.h
1 /*
2  *  linux/include/asm-arm/arch-rpc/serial.h
3  *
4  *  Copyright (C) 1996 Russell King.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  *  Changelog:
11  *   15-10-1996 RMK     Created
12  */
13 #ifndef __ASM_ARCH_SERIAL_H
14 #define __ASM_ARCH_SERIAL_H
15
16 /*
17  * This assumes you have a 1.8432 MHz clock for your UART.
18  *
19  * It'd be nice if someone built a serial card with a 24.576 MHz
20  * clock, since the 16550A is capable of handling a top speed of 1.5
21  * megabits/second; but this requires the faster clock.
22  */
23 #define BASE_BAUD (1843200 / 16)
24
25 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
26
27      /* UART CLK        PORT  IRQ     FLAGS        */
28 #define STD_SERIAL_PORT_DEFNS \
29         { 0, BASE_BAUD, 0x3F8, 10, STD_COM_FLAGS },     /* ttyS0 */     \
30         { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },     /* ttyS1 */     \
31         { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },     /* ttyS2 */     \
32         { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },     /* ttyS3 */     \
33         { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },     /* ttyS4 */     \
34         { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },     /* ttyS5 */     \
35         { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },     /* ttyS6 */     \
36         { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },     /* ttyS7 */     \
37         { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },     /* ttyS8 */     \
38         { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },     /* ttyS9 */     \
39         { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },     /* ttyS10 */    \
40         { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },     /* ttyS11 */    \
41         { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },     /* ttyS12 */    \
42         { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS }      /* ttyS13 */
43
44 #define EXTRA_SERIAL_PORT_DEFNS
45
46 #endif