aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/au1000-2.6/patches/009-pci_fix.patch
blob: 5b2a87f16b0e3f135b3d55cd422392bf10fcde9d (plain)
1
2
3
4
5
6
7
8
9
10
11
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();