linux-mips
[Top] [All Lists]

Re: [PATCH] Au1xx0: OHCI region size off-by-one

To: Linux-MIPS <linux-mips@linux-mips.org>
Subject: Re: [PATCH] Au1xx0: OHCI region size off-by-one
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Date: Thu, 25 May 2006 22:47:01 +0400
Cc: Ralf Baechle <ralf@linux-mips.org>, Jordan Crouse <jordan.crouse@amd.com>
In-reply-to: <441F4EBB.6000906@ru.mvista.com>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <441F4EBB.6000906@ru.mvista.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803
Hello, I wrote:

   Au1xx0 OHCI driver claims one byte too many for the memory mapped
controller registers.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

------------------------------------------------------------------------

diff --git a/arch/mips/au1000/common/platform.c 
b/arch/mips/au1000/common/platform.c
index d7a8f0a..79407ab 100644
--- a/arch/mips/au1000/common/platform.c
+++ b/arch/mips/au1000/common/platform.c
@@ -20,7 +20,7 @@
 static struct resource au1xxx_usb_ohci_resources[] = {
        [0] = {
                .start          = USB_OHCI_BASE,
-               .end            = USB_OHCI_BASE + USB_OHCI_LEN,
+               .end            = USB_OHCI_BASE + USB_OHCI_LEN - 1,
                .flags          = IORESOURCE_MEM,
        },
        [1] = {

  There's no need to apply this anymore -- was covered by Au1200 OCHI patch...

WBR, Sergei

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] Au1xx0: OHCI region size off-by-one, Sergei Shtylyov <=