patch-2.4.9 linux/include/asm-arm/arch-anakin/serial.h

Next file: linux/include/asm-arm/arch-anakin/serial_reg.h
Previous file: linux/include/asm-arm/arch-anakin/param.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/include/asm-arm/arch-anakin/serial.h linux/include/asm-arm/arch-anakin/serial.h
@@ -0,0 +1,30 @@
+/*
+ *  linux/include/asm-arm/arch-anakin/serial.h
+ *
+ *  Copyright (C) 2001 Aleph One Ltd. for Acunia N.V.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ *  Changelog:
+ *   11-Apr-2001 TTC	Created
+ */
+
+#ifndef __ASM_ARCH_SERIAL_H
+#define __ASM_ARCH_SERIAL_H
+
+#include <asm/io.h>
+#include <asm/irq.h>
+
+/*
+ * UART3 and UART4 are not supported yet
+ */
+#define RS_TABLE_SIZE		3
+#define STD_SERIAL_PORT_DEFNS	\
+	{ 0, 0, IO_BASE + UART0, IRQ_UART0, 0 }, \
+	{ 0, 0, IO_BASE + UART1, IRQ_UART1, 0 }, \
+	{ 0, 0, IO_BASE + UART2, IRQ_UART2, 0 }
+#define EXTRA_SERIAL_PORT_DEFNS
+
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)