linux-mips
[Top] [All Lists]

[PATCH] MIPS: EMMA2RH: Set UART mapbase

To: ralf@linux-mips.org, linux-mips@linux-mips.org
Subject: [PATCH] MIPS: EMMA2RH: Set UART mapbase
From: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Date: Sat, 21 Mar 2009 22:11:49 +0900
In-reply-to: <49C4E6BC.8040902@ruby.dti.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <49C4E5D5.4070408@ruby.dti.ne.jp> <49C4E646.7010309@ruby.dti.ne.jp> <49C4E6BC.8040902@ruby.dti.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.21 (X11/20090318)
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
---

 arch/mips/emma/markeins/platform.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/mips/emma/markeins/platform.c 
b/arch/mips/emma/markeins/platform.c
index d5f47e4..80ae12e 100644
--- a/arch/mips/emma/markeins/platform.c
+++ b/arch/mips/emma/markeins/platform.c
@@ -110,6 +110,7 @@ struct platform_device i2c_emma_devices[] = {
 static struct  plat_serial8250_port platform_serial_ports[] = {
        [0] = {
                .membase= (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR0_BASE + 3),
+               .mapbase = EMMA2RH_PFUR0_BASE + 3,
                .irq = EMMA2RH_IRQ_PFUR0,
                .uartclk = EMMA2RH_SERIAL_CLOCK,
                .regshift = 4,
@@ -117,6 +118,7 @@ static struct  plat_serial8250_port platform_serial_ports[] 
= {
                .flags = EMMA2RH_SERIAL_FLAGS,
        }, [1] = {
                .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR1_BASE + 3),
+               .mapbase = EMMA2RH_PFUR1_BASE + 3,
                .irq = EMMA2RH_IRQ_PFUR1,
                .uartclk = EMMA2RH_SERIAL_CLOCK,
                .regshift = 4,
@@ -124,6 +126,7 @@ static struct  plat_serial8250_port platform_serial_ports[] 
= {
                .flags = EMMA2RH_SERIAL_FLAGS,
        }, [2] = {
                .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR2_BASE + 3),
+               .mapbase = EMMA2RH_PFUR2_BASE + 3,
                .irq = EMMA2RH_IRQ_PFUR2,
                .uartclk = EMMA2RH_SERIAL_CLOCK,
                .regshift = 4,

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