[patch 2.6] PCI: undo recent pci_setup_bridge() change

From: Ivan Kokshaysky
Date: Wed Aug 20 2003 - 17:43:08 EST


That patch went into mainline by mistake - it was initial variant of a
fix for the problem with disabled P2P bridges. Which has already been
fixed properly in -test3.

Ivan.

--- 2.6/drivers/pci/setup-bus.c Tue Aug 19 20:43:08 2003
+++ linux/drivers/pci/setup-bus.c Wed Aug 20 02:03:49 2003
@@ -203,11 +203,6 @@ pci_setup_bridge(struct pci_bus *bus)
Enable ISA in either case (FIXME!). */
l = (bus->resource[0]->flags & IORESOURCE_BUS_HAS_VGA) ? 0x0c : 0x04;
pci_write_config_word(bridge, PCI_BRIDGE_CONTROL, l);
-
- /* Make sure the bridge COMMAND register has the appropriate
- bits set, just in case...
- */
- pcibios_enable_device(bridge, 0xfff);
}

/* Check whether the bridge supports optional I/O and
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/