linux-mips
[Top] [All Lists]

Re: [PATCH] Physical addresses fix for au1x00 serial driver

To: Rodolfo Giometti <giometti@linux.it>
Subject: Re: [PATCH] Physical addresses fix for au1x00 serial driver
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Date: Thu, 04 May 2006 16:44:29 +0400
Cc: linux-mips@linux-mips.org
In-reply-to: <20060504101112.GC19913@gundam.enneenne.com>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060504101112.GC19913@gundam.enneenne.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803
Hello.

Rodolfo Giometti wrote:

here:

   
http://ftp.enneenne.com/pub/misc/au1100-patches/linux/patch-au1x00-serial-phys-addr

a little patch (against «linux-2.6.16-stable» branch and tested on
au1100 based board) to fix the addresses specification for the serial
driver. With this patch at boot time we get:

Serial: 8250/16550 driver $Revision: 1.90 $ 3 ports, IRQ sharing disabled serial8250.7: ttyS0 at MMIO 0x11100000 (irq = 0) is a 16550A serial8250.7: ttyS1 at MMIO 0x11200000 (irq = 1) is a 16550A serial8250.7: ttyS2 at MMIO 0x11400000 (irq = 3) is a 16550A

I have already noticed and fixed this. The fix is in Andrew Morton's tree (unpublished yet). See this msg for the patch:

http://www.linux-mips.org/archives/linux-mips/2006-04/msg00029.html

> wwpc:~# cat /proc/iomem > 10100000-10200000 : au1xxx-ohci.0 > 10500000-1050ffff : eth-base > 10520000-10520003 : eth-mac > 11100000-1110001f : serial > 11200000-1120001f : serial > 11400000-1140001f : serial

   This is not quite correct. The UARTs take up 1 MB of memory each.

Ciao,

Rodolfo

WBR, Sergei

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