add new switch configuration api
[openwrt.git] / target / linux / brcm47xx / patches-2.6.23 / 601-mips-remove-pci-collision-check.patch
1 The SSB pcicore driver does create some MMIO resource collisions.
2 However, the pcicore PCI-fixup routine fixes these collisions afterwards.
3 Remove this sanity check for now until we find a better solution.
4 --mb
5 --- a/arch/mips/pci/pci.c
6 +++ b/arch/mips/pci/pci.c
7 @@ -177,10 +177,8 @@
8 continue;
9
10 r = &dev->resource[idx];
11 - if (!r->start && r->end) {
12 - printk(KERN_ERR "PCI: Device %s not available because of resource collisions\n", pci_name(dev));
13 - return -EINVAL;
14 - }
15 + if (!r->start && r->end)
16 + printk(KERN_WARNING "PCI: Device %s resource collisions detected. Ignoring...\n", pci_name(dev));
17 if (r->flags & IORESOURCE_IO)
18 cmd |= PCI_COMMAND_IO;
19 if (r->flags & IORESOURCE_MEM)
This page took 0.050916 seconds and 5 git commands to generate.