ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-arm / arch-shark / serial.h
1 /*
2  * linux/include/asm-arm/arch-ebsa110/serial.h
3  *
4  * Copyright (c) 1996,1997,1998 Russell King.
5  *
6  * Changelog:
7  *  15-10-1996  RMK     Created
8  */
9 #ifndef __ASM_ARCH_SERIAL_H
10 #define __ASM_ARCH_SERIAL_H
11
12 /*
13  * This assumes you have a 1.8432 MHz clock for your UART.
14  *
15  * It'd be nice if someone built a serial card with a 24.576 MHz
16  * clock, since the 16550A is capable of handling a top speed of 1.5
17  * megabits/second; but this requires the faster clock.
18  */
19 #define BASE_BAUD (1843200 / 16)
20
21 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
22
23      /* UART CLK        PORT  IRQ     FLAGS        */
24 #define STD_SERIAL_PORT_DEFNS \
25         { 0, BASE_BAUD, 0x3F8,  4, STD_COM_FLAGS },     /* ttyS0 */     \
26         { 0, BASE_BAUD, 0x2F8,  3, STD_COM_FLAGS },     /* ttyS1 */
27
28 #define EXTRA_SERIAL_PORT_DEFNS
29
30 #endif
31