mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 07:00:37 +02:00
Hopefully fix the PCI resource conflict and upgrade to .24.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10515 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
aec0714fc8
commit
055cb9a23a
@ -11,7 +11,7 @@ BOARD:=au1000
|
|||||||
BOARDNAME:=AMD Alchemy AU1x00
|
BOARDNAME:=AMD Alchemy AU1x00
|
||||||
FEATURES:=jffs2 usb pci
|
FEATURES:=jffs2 usb pci
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.24
|
LINUX_VERSION:=2.6.24.2
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
DEFAULT_PACKAGES += yamonenv
|
DEFAULT_PACKAGES += yamonenv
|
||||||
|
@ -1,14 +1,24 @@
|
|||||||
--- linux-2.6.22.1.orig/include/asm-mips/mach-au1x00/au1000.h 2007-07-24 18:44:21.598778839 +0200
|
diff --git a/arch/mips/au1000/common/pci.c b/arch/mips/au1000/common/pci.c
|
||||||
+++ linux-2.6.22.1/include/asm-mips/mach-au1x00/au1000.h 2007-07-24 22:08:49.761901610 +0200
|
index c93d7a6..6c25e6c 100644
|
||||||
@@ -1680,9 +1680,9 @@
|
--- a/arch/mips/au1000/common/pci.c
|
||||||
#define PCI_LAST_DEVFN (19<<3)
|
+++ b/arch/mips/au1000/common/pci.c
|
||||||
|
@@ -39,15 +39,15 @@
|
||||||
|
|
||||||
#define IOPORT_RESOURCE_START 0x00001000 /* skip legacy probing */
|
/* TBD */
|
||||||
-#define IOPORT_RESOURCE_END 0xffffffff
|
static struct resource pci_io_resource = {
|
||||||
+#define IOPORT_RESOURCE_END 0xfffffffffULL
|
- .start = PCI_IO_START,
|
||||||
#define IOMEM_RESOURCE_START 0x10000000
|
- .end = PCI_IO_END,
|
||||||
-#define IOMEM_RESOURCE_END 0xffffffff
|
+ .start = (resource_size_t)PCI_IO_START,
|
||||||
+#define IOMEM_RESOURCE_END 0xfffffffffULL
|
+ .end = (resource_size_t)PCI_IO_END,
|
||||||
|
.name = "PCI IO space",
|
||||||
|
.flags = IORESOURCE_IO
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
static struct resource pci_mem_resource = {
|
||||||
* Borrowed from the PPC arch:
|
- .start = PCI_MEM_START,
|
||||||
|
- .end = PCI_MEM_END,
|
||||||
|
+ .start = (resource_size_t)PCI_MEM_START,
|
||||||
|
+ .end = (resource_size_t)PCI_MEM_END,
|
||||||
|
.name = "PCI memory space",
|
||||||
|
.flags = IORESOURCE_MEM
|
||||||
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user