OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-arm/] [arch-shark/] [serial.h] - Blame information for rev 1276

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
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
#define RS_TABLE_SIZE 2
24
 
25
     /* UART CLK        PORT  IRQ     FLAGS        */
26
#define STD_SERIAL_PORT_DEFNS \
27
        { 0, BASE_BAUD, 0x3F8,  4, STD_COM_FLAGS },      /* ttyS0 */     \
28
        { 0, BASE_BAUD, 0x2F8,  3, STD_COM_FLAGS },      /* ttyS1 */
29
 
30
#define EXTRA_SERIAL_PORT_DEFNS
31
 
32
#endif
33
 

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.