Fix config, set directory block to -1 for redboot.
[openwrt.git] / target / linux / rb532-2.6 / patches / 200-bridge_resource_hack.patch
1 --- linux.old/arch/mips/pci/pci.c 2006-04-19 08:10:14.000000000 +0200
2 +++ linux.dev/arch/mips/pci/pci.c 2006-06-14 20:23:18.000000000 +0200
3 @@ -65,8 +65,10 @@
4 /*
5 * Put everything into 0x00-0xff region modulo 0x400
6 */
7 +#ifndef CONFIG_MIKROTIK_RB500
8 if (start & 0x300)
9 start = (start + 0x3ff) & ~0x3ff;
10 +#endif
11 } else if (res->flags & IORESOURCE_MEM) {
12 /* Make sure we start at our min on all hoses */
13 if (start < PCIBIOS_MIN_MEM + hose->mem_resource->start)
This page took 0.040415 seconds and 5 git commands to generate.