]> git.hungrycats.org Git - linux/commitdiff
Revert bad PCI bridge resource handling from -dj tree
authorLinus Torvalds <torvalds@home.transmeta.com>
Tue, 26 Nov 2002 01:45:14 +0000 (17:45 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 26 Nov 2002 01:45:14 +0000 (17:45 -0800)
Cset exclude: davej@codemonkey.org.uk|ChangeSet|20021126023731|33210

drivers/pci/setup-bus.c

index 545f18b055e48f77bef2c3ba4d6705fa1029105c..5be491ff1a3552f06814ffc1e58e6b4bd7a47ef6 100644 (file)
@@ -107,14 +107,6 @@ pci_setup_bridge(struct pci_bus *bus)
        DBGC((KERN_INFO "PCI: Bus %d, bridge: %s\n",
                        bus->number, bridge->dev.name));
 
-       /* Add bridge resources to the resource tree. */
-       if (bus->resource[0]->end > bus->resource[0]->start &&
-               request_resource(bus->resource[0], bus->resource[0]) < 0)
-                       printk(KERN_ERR "PCI: failed to reserve IO for bus %d\n", bus->number);
-       if (bus->resource[1]->end > bus->resource[1]->start &&
-               request_resource(bus->resource[1], bus->resource[1]) < 0)
-                       printk(KERN_ERR "PCI: failed to reserve MEM for bus %d\n", bus->number);
-
        /* Set up the top and bottom of the PCI I/O segment for this bus. */
        if (bus->resource[0]->flags & IORESOURCE_IO) {
                pci_read_config_dword(bridge, PCI_IO_BASE, &l);