MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / include / asm-arm / arch-ebsa110 / serial.h
blob17aff6692501b18094b2de135e261d7f2fab7be2
1 /*
2 * linux/include/asm-arm/arch-ebsa110/serial.h
4 * Copyright (C) 1996,1997,1998 Russell King.
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.
10 * Changelog:
11 * 15-10-1996 RMK Created
13 #ifndef __ASM_ARCH_SERIAL_H
14 #define __ASM_ARCH_SERIAL_H
17 * This assumes you have a 1.8432 MHz clock for your UART.
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.
23 #define BASE_BAUD (1843200 / 16)
25 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
27 /* UART CLK PORT IRQ FLAGS */
28 #define STD_SERIAL_PORT_DEFNS \
29 { 0, BASE_BAUD, 0x3F8, 1, STD_COM_FLAGS }, /* ttyS0 */ \
30 { 0, BASE_BAUD, 0x2F8, 2, STD_COM_FLAGS } /* ttyS1 */
32 #define EXTRA_SERIAL_PORT_DEFNS
34 #endif