linux-mips
[Top] [All Lists]

Re: [RFC 08/11] MIPS: ralink: adds early_printk support

To: linux-mips@linux-mips.org
Subject: Re: [RFC 08/11] MIPS: ralink: adds early_printk support
From: John Crispin <john@phrozen.org>
Date: Thu, 24 Jan 2013 08:23:47 +0100
In-reply-to: <5100DB68.20903@phrozen.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1358942755-25371-1-git-send-email-blogic@openwrt.org> <1358942755-25371-9-git-send-email-blogic@openwrt.org> <5100610A.80609@mvista.com> <5100DB68.20903@phrozen.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120922 Icedove/10.0.7
Hi,

inside <linux/serial_reg.h> we have

#define UART_LSR        5       /* In:  Line Status Register */

while our driver needs

+#define UART_REG_LCR            5

we still inlcude the file because we use

#define UART_LSR_THRE           0x20 /* Transmit-hold-register empty */


to make the real tty work we also need this patch (which i will send to the tty people today, i guess the AU stuff needs to be renamed

http://git.linux-mips.org/?p=john/linux-john.git;a=commit;h=ad22b1d6987cb703b42db5bdd92feaceb62be961

and for reference there is also this patch to make the whole thing loadable from OF.
http://git.linux-mips.org/?p=john/linux-john.git;a=commit;h=bdfab6083da584ac74dddf442de7c7d044aa3c9b

        John

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