linux-mips
[Top] [All Lists]

[PATCH 9/16] add serial port definition for lemote fulong

To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Subject: [PATCH 9/16] add serial port definition for lemote fulong
From: "zhangfx@lemote.com" <zhangfx@lemote.com>
Date: Wed, 4 Apr 2007 14:38:19 +0000
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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 d7a6513..9c9660e 100644
--- a/include/asm-mips/serial.h
+++ b/include/asm-mips/serial.h
@@ -204,6 +204,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                       \
@@ -213,6 +219,7 @@
        MOMENCO_OCELOT_G_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.4.4.4


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 9/16] add serial port definition for lemote fulong, zhangfx@lemote.com <=