/* Device might live on a subordinate PCI bus. XXX Walk up the chain of buses to find the slot number in sense of the bridge device register. XXX This also means multiple devices might rely on conflicting bridge settings.  */
static void pci_disable_swapping(struct pci_dev *dev)
/* Device might live on a subordinate PCI bus. XXX Walk up the chain of buses to find the slot number in sense of the bridge device register. XXX This also means multiple devices might rely on conflicting bridge settings.  */
static void pci_disable_swapping(struct pci_dev *dev)
{
	struct bridge_controller *bc = BRIDGE_CONTROLLER(dev->bus);
	bridge_t *bridge = bc->base;
	int slot = PCI_SLOT(dev->devfn);
	bridge->b_device[slot].reg &= ~BRIDGE_DEV_SWAP_DIR;
	bridge->b_widget.w_tflush;
}