port enough sendpoint support for DSM-G600 from D-Link 2.4.21-pre4
[linux-2.4.git] / arch / ppc / platforms / prpmc750_serial.h
1 /*
2  * include/asm-ppc/platforms/prpmc750_serial.h
3  * 
4  * Motorola PrPMC750 serial support
5  *
6  * Author: Matt Porter <mporter@mvista.com>
7  *
8  * Copyright 2001 MontaVista Software Inc.
9  *
10  * This program is free software; you can redistribute  it and/or modify it
11  * under  the terms of  the GNU General Public License as published by the
12  * Free Software Foundation;  either version 2 of the  License, or (at your
13  * option) any later version.
14  */
15
16 #ifdef __KERNEL__
17 #ifndef __ASM_PRPMC750_SERIAL_H__
18 #define __ASM_PRPMC750_SERIAL_H__
19
20 #include <linux/config.h>
21 #include <platforms/prpmc750.h>
22
23 #define RS_TABLE_SIZE  4
24
25 /* Rate for the 1.8432 Mhz clock for the onboard serial chip */
26 #define BASE_BAUD  (PRPMC750_BASE_BAUD / 16)
27
28 #ifndef SERIAL_MAGIC_KEY
29 #define kernel_debugger ppc_kernel_debug
30 #endif
31
32 #define SERIAL_PORT_DFNS \
33         { 0, BASE_BAUD, PRPMC750_SERIAL_0, 1, ASYNC_SKIP_TEST, \
34                 iomem_base: (unsigned char *)PRPMC750_SERIAL_0, \
35                 iomem_reg_shift: 4, \
36                 io_type: SERIAL_IO_MEM } /* ttyS0 */
37
38 #endif /* __ASM_PRPMC750_SERIAL_H__ */
39 #endif /* __KERNEL__ */