linux-mips
[Top] [All Lists]

[PATCH][au1x00/mtx1] - pci resource conflict

To: linux-mips@linux-mips.org
Subject: [PATCH][au1x00/mtx1] - pci resource conflict
From: John Crispin <john@phrozen.org>
Date: Tue, 31 Jul 2007 09:51:44 +0200
Cc: nbd@openwrt.org, florian@openwrt.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Internet Messaging Program (IMP) H3 (4.1.3)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

pci controller failed 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

--- linux-2.6.23-rc1.orig/include/asm-mips/mach-au1x00/au1000.h 2007-07-24 18:44:21.598778839 +0200 +++ linux-2.6.23-rc1/include/asm-mips/mach-au1x00/au1000.h 2007-07-24 22:08:49.761901610 +0200
@@ -1680,9 +1680,9 @@
 #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:



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