Skip to contentSkip to conversation

PCI: undo recent pci_setup_bridge() change

PATCH Applied Ivan Kokshaysky 2 participants 2 messages Aug 20, 2003 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI: undo recent pci_setup_bridge() change

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.

drivers/pci/setup-bus.c +0 -5
@@ -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
Applied
#1 lore raw
Quoted 3 lines · Ivan Kokshaysky

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.

Applied to my trees, and will send it on in a bit.

thanks,

greg k-h