Add different Wi-Fi profiles
[openwrt-10.03/.git] / target / linux / au1000-2.6 / patches / 009-pci_fix.patch
1 diff -ur linux.old/arch/mips/pci/ops-au1000.c linux.dev/arch/mips/pci/ops-au1000.c
2 --- linux.old/arch/mips/pci/ops-au1000.c        2006-06-18 03:49:35.000000000 +0200
3 +++ linux.dev/arch/mips/pci/ops-au1000.c        2006-12-09 20:51:29.000000000 +0100
4 @@ -111,7 +111,7 @@
5         if (first_cfg) {
6                 /* reserve a wired entry for pci config accesses */
7                 first_cfg = 0;
8 -               pci_cfg_vm = get_vm_area(0x2000, 0);
9 +               pci_cfg_vm = get_vm_area(0x2000, VM_IOREMAP);
10                 if (!pci_cfg_vm)
11                         panic (KERN_ERR "PCI unable to get vm area\n");
12                 pci_cfg_wired_entry = read_c0_wired();