|
@@ -18,15 +18,6 @@
|
|
|
|
|
|
static int debug_pci;
|
|
|
|
|
|
-#ifdef CONFIG_PCI_MSI
|
|
|
-struct msi_controller *pcibios_msi_controller(struct pci_dev *dev)
|
|
|
-{
|
|
|
- struct pci_sys_data *sysdata = dev->bus->sysdata;
|
|
|
-
|
|
|
- return sysdata->msi_ctrl;
|
|
|
-}
|
|
|
-#endif
|
|
|
-
|
|
|
/*
|
|
|
* We can't use pci_get_device() here since we are
|
|
|
* called from interrupt context.
|
|
@@ -462,9 +453,6 @@ static void pcibios_init_hw(struct device *parent, struct hw_pci *hw,
|
|
|
if (WARN(!sys, "PCI: unable to allocate sys data!"))
|
|
|
break;
|
|
|
|
|
|
-#ifdef CONFIG_PCI_MSI
|
|
|
- sys->msi_ctrl = hw->msi_ctrl;
|
|
|
-#endif
|
|
|
sys->busnr = busnr;
|
|
|
sys->swizzle = hw->swizzle;
|
|
|
sys->map_irq = hw->map_irq;
|