diff options
Diffstat (limited to 'include/asm-mn10300/serial.h')
| -rw-r--r-- | include/asm-mn10300/serial.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/include/asm-mn10300/serial.h b/include/asm-mn10300/serial.h new file mode 100644 index 000000000000..99785a9deadb --- /dev/null +++ b/include/asm-mn10300/serial.h | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | /* Standard UART definitions | ||
| 2 | * | ||
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | ||
| 4 | * Written by David Howells (dhowells@redhat.com) | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | ||
| 11 | |||
| 12 | /* | ||
| 13 | * The ASB2305 has an 18.432 MHz clock the UART | ||
| 14 | */ | ||
| 15 | #define BASE_BAUD (18432000 / 16) | ||
| 16 | |||
| 17 | /* Standard COM flags (except for COM4, because of the 8514 problem) */ | ||
| 18 | #ifdef CONFIG_SERIAL_DETECT_IRQ | ||
| 19 | #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ) | ||
| 20 | #define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_AUTO_IRQ) | ||
| 21 | #else | ||
| 22 | #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST) | ||
| 23 | #define STD_COM4_FLAGS ASYNC_BOOT_AUTOCONF | ||
| 24 | #endif | ||
| 25 | |||
| 26 | #ifdef CONFIG_SERIAL_MANY_PORTS | ||
| 27 | #define FOURPORT_FLAGS ASYNC_FOURPORT | ||
| 28 | #define ACCENT_FLAGS 0 | ||
| 29 | #define BOCA_FLAGS 0 | ||
| 30 | #define HUB6_FLAGS 0 | ||
| 31 | #define RS_TABLE_SIZE 64 | ||
| 32 | #else | ||
| 33 | #define RS_TABLE_SIZE | ||
| 34 | #endif | ||
| 35 | |||
| 36 | #include <asm/unit/serial.h> | ||
