linux-mips
[Top] [All Lists]

[PATCH] Enable UART on RaQ1

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] Enable UART on RaQ1
From: Martin Michlmayr <tbm@cyrius.com>
Date: Sun, 29 Jul 2007 22:19:02 +0200
Cc: linux-mips@linux-mips.org, Peter Horton <pdh@colonel-panic.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.13 (2006-08-11)
Unlike the current code suggests, the RaQ1 actually has an UART.  Only
the Qube1 (Qube 2700) lacks one.

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>

--- a/arch/mips/cobalt/serial.c 2007-07-29 19:47:38.000000000 +0000
+++ b/arch/mips/cobalt/serial.c 2007-07-29 19:48:15.000000000 +0000
@@ -55,9 +55,9 @@
        int retval;
 
        /*
-        * Cobalt Qube1 and RAQ1 have no UART.
+        * Cobalt Qube1 has no UART.
         */
-       if (cobalt_board_id <= COBALT_BRD_ID_RAQ1)
+       if (cobalt_board_id == COBALT_BRD_ID_QUBE1)
                return 0;
 
        pdev = platform_device_alloc("serial8250", -1);

-- 
Martin Michlmayr
http://www.cyrius.com/

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