linux-mips
[Top] [All Lists]

[PATCH] add serial port definition for lemote fulong

To: linux-mips@linux-mips.org
Subject: [PATCH] add serial port definition for lemote fulong
From: tiansm@lemote.com
Date: Wed, 6 Jun 2007 12:42:36 +0800
Cc: Songmao Tian <tiansm@lemote.com>
In-reply-to: <11811049622818-git-send-email-tiansm@lemote.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11811049622818-git-send-email-tiansm@lemote.com>
Sender: linux-mips-bounce@linux-mips.org
From: Songmao Tian <tiansm@lemote.com>

Signed-off-by: Fuxin Zhang <zhangfx@lemote.com>
---
 include/asm-mips/serial.h |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/include/asm-mips/serial.h b/include/asm-mips/serial.h
index ce51213..1237704 100644
--- a/include/asm-mips/serial.h
+++ b/include/asm-mips/serial.h
@@ -164,6 +164,12 @@
 #define IP32_SERIAL_PORT_DEFNS
 #endif /* CONFIG_SGI_IP32 */
 
+#if defined(CONFIG_LEMOTE_FULONG)
+#define LEMOTE_FULONG_SERIAL_PORT_DEFNS                        \
+       /* UART CLK   PORT IRQ     FLAGS        */      \
+       { 0, BASE_BAUD, 0x3F8, 4, STD_COM_FLAGS },      /* ttyS0 */
+#endif
+
 #define SERIAL_PORT_DFNS                               \
        DDB5477_SERIAL_PORT_DEFNS                       \
        EV64120_SERIAL_PORT_DEFNS                       \
@@ -172,6 +178,7 @@
        STD_SERIAL_PORT_DEFNS                           \
        MOMENCO_OCELOT_C_SERIAL_PORT_DEFNS              \
        MOMENCO_OCELOT_SERIAL_PORT_DEFNS                \
-       MOMENCO_OCELOT_3_SERIAL_PORT_DEFNS
+       MOMENCO_OCELOT_3_SERIAL_PORT_DEFNS              \
+       LEMOTE_FULONG_SERIAL_PORT_DEFNS
 
 #endif /* _ASM_SERIAL_H */
-- 
1.5.2.1


<Prev in Thread] Current Thread [Next in Thread>