1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-07 16:44:13 +03:00

fix pci on the meshcubes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5742 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-12-09 19:54:43 +00:00
parent ec9c075c75
commit 3319f184b2

View File

@ -0,0 +1,12 @@
diff -ur linux.old/arch/mips/pci/ops-au1000.c linux.dev/arch/mips/pci/ops-au1000.c
--- linux.old/arch/mips/pci/ops-au1000.c 2006-06-18 03:49:35.000000000 +0200
+++ linux.dev/arch/mips/pci/ops-au1000.c 2006-12-09 20:51:29.000000000 +0100
@@ -111,7 +111,7 @@
if (first_cfg) {
/* reserve a wired entry for pci config accesses */
first_cfg = 0;
- pci_cfg_vm = get_vm_area(0x2000, 0);
+ pci_cfg_vm = get_vm_area(0x2000, VM_IOREMAP);
if (!pci_cfg_vm)
panic (KERN_ERR "PCI unable to get vm area\n");
pci_cfg_wired_entry = read_c0_wired();