| To: | Andrew Morton <akpm@linux-foundation.org>, Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH 1/2] serial: 8250: reduce Alchemy serial port space size |
| From: | Manuel Lauss <manuel.lauss@googlemail.com> |
| Date: | Wed, 28 Oct 2009 20:09:13 +0100 |
| Cc: | Linux-MIPS <linux-mips@linux-mips.org>, linux-serial@vger.kernel.org, Manuel Lauss <manuel.lauss@gmail.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=1Ew/CskWQIWczkE93PjJgNFTwJJyyZ6eo4DeQPrWhBU=; b=GHo1Yxt83kj7cT/vH5RCzMHg/u4hBVoPVwRu4n4Oqy17uv+M/WvdKEdEIPxGteQScL jzSKSdaaI5joCGbpVYBYxB/wDkrmK1pw5oyvhEQ34Yg8w5Cd+vpxfC3XmVpvTkJs9+hG nzfRVGfJUjUbZnxOjQ8mRDmdwBk0WV0M+DHYM= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=DB1wUTg8Km3rUCEuumV/2k6qZ2g1guHk6k7BeIxnf6pCgJhVeCh6ga9m9eHsly4qkN 3hqjk1/QswM2kox6BxBxSl81OED7S+atn92Adp1bRwZBWPPxN/Ufv2fgjMEbWKBxX/2j v8ivi0KWwTGljChnzkuiWgIHieLsR6UqY/x0w= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
This patch limits the amount of address space claimed for Alchemy serial
ports to 0x1000. On the Au1300, ports are only 0x1000 apart, and the
registers only extend to 0x110 at most on all supported alchemy models.
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
---
I'm not sure who to send this patch to; I added Ralf Baechle because
he always takes my alchemy patches, 8250 is unmaintained and this
patch is required for adding support for a new alchemy model (this patch
gets me a working serial console on the DB1300).
drivers/serial/8250.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index b1ae774..2ff81eb 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -2429,7 +2429,7 @@ serial8250_pm(struct uart_port *port, unsigned int state,
static unsigned int serial8250_port_size(struct uart_8250_port *pt)
{
if (pt->port.iotype == UPIO_AU)
- return 0x100000;
+ return 0x1000;
#ifdef CONFIG_ARCH_OMAP
if (is_omap_port(pt))
return 0x16 << pt->port.regshift;
--
1.6.5
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH RESEND] net: au1000_eth: buildfix: add missing capability.h, Manuel Lauss |
|---|---|
| Next by Date: | [PATCH 2/2] MIPS: Alchemy: UARTs are 16550A, Manuel Lauss |
| Previous by Thread: | [PATCH RESEND] net: au1000_eth: buildfix: add missing capability.h, Manuel Lauss |
| Next by Thread: | [PATCH 2/2] MIPS: Alchemy: UARTs are 16550A, Manuel Lauss |
| Indexes: | [Date] [Thread] [Top] [All Lists] |