Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Florian Fainelli <florian.fainelli@telecomint.eu>
To: linux-mips@linux-mips.org, blogic@openwrt.org, nbd@openwrt.org
Subject: [PATCH 2/3] Au1000 : fix PCI controller registration
Date: Tue, 25 Sep 2007 17:07:28 +0200	[thread overview]
Message-ID: <200709251707.29067.florian.fainelli@telecomint.eu> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 426 bytes --]

The PCI controller fails to register, as PCI_MEM_END was greater than  
IOMEM_RESOURCE_END and Au1500_PCI_IO_END was greater than  
IOPORT_RESOURCE_END

IO{MEM,PORT}_RESOURCE_END value were adjust to represent the actual  
memory map of the au1x00.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
-- 

[-- Attachment #1.2: io-resources.patch --]
[-- Type: text/plain, Size: 652 bytes --]

diff --git a/include/asm-mips/mach-au1x00/au1000.h b/include/asm-mips/mach-au1x00/au1000.h
index 58fca8a..046920a 100644
--- a/include/asm-mips/mach-au1x00/au1000.h
+++ b/include/asm-mips/mach-au1x00/au1000.h
@@ -1680,9 +1680,9 @@ extern au1xxx_irq_map_t au1xxx_irq_map[];
 #define PCI_LAST_DEVFN  (19<<3)
 
 #define IOPORT_RESOURCE_START 0x00001000 /* skip legacy probing */
-#define IOPORT_RESOURCE_END   0xffffffff
+#define IOPORT_RESOURCE_END   0xfffffffffULL
 #define IOMEM_RESOURCE_START  0x10000000
-#define IOMEM_RESOURCE_END    0xffffffff
+#define IOMEM_RESOURCE_END    0xfffffffffULL
 
   /*
    * Borrowed from the PPC arch:

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2007-09-25 15:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-25 15:07 Florian Fainelli [this message]
2007-09-25 17:11 ` [PATCH 2/3] Au1000 : fix PCI controller registration Ralf Baechle
2007-09-25 17:17   ` Florian Fainelli
2007-09-25 17:18     ` Ralf Baechle
2007-09-25 21:54       ` Florian Fainelli
2007-09-25 17:38 ` [PATCH 2/3 take2] " Florian Fainelli

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=200709251707.29067.florian.fainelli@telecomint.eu \
    --to=florian.fainelli@telecomint.eu \
    --cc=blogic@openwrt.org \
    --cc=linux-mips@linux-mips.org \
    --cc=nbd@openwrt.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