Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Sergei Shtylylov <sshtylyov@ru.mvista.com>
To: Linux-MIPS <linux-mips@linux-mips.org>
Subject: [PATCH] Au1xx0: OHCI region size off-by-one
Date: Tue, 21 Mar 2006 03:54:19 +0300	[thread overview]
Message-ID: <441F4EBB.6000906@ru.mvista.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

Hello.

    Reposting with signoff which I constantly forget about... :-/

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

WBR, Sergei

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


[-- Attachment #2: Au1xx0-OHCI-region-size-off-by-one.patch --]
[-- Type: text/plain, Size: 442 bytes --]

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] = {




             reply	other threads:[~2006-03-21  0:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-21  0:54 Sergei Shtylylov [this message]
2006-03-21  1:02 ` [PATCH] Au1xx0: OHCI region size off-by-one Martin Michlmayr
2006-03-21  1:05   ` Sergei Shtylylov
2006-03-22 12:01     ` Ralf Baechle
2006-05-25 18:47 ` Sergei Shtylyov
  -- strict thread matches above, loose matches on Subject: below --
2006-03-20 23:38 Sergei Shtylylov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=441F4EBB.6000906@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox