linux/arch/arm/include/asm/mach
Yijing Wang 49dcc01a9f ARM/PCI: Save MSI controller in pci_sys_data
Currently ARM associates an MSI controller with a PCI bus by defining
pcibios_add_bus() and using it to call a struct hw_pci.add_bus() method.
That method sets the struct pci_bus "msi" member.  That's unwieldy and
unnecessarily couples MSI with the PCI enumeration code.

On ARM, all devices under the same PCI host bridge share an MSI controller,
so add an msi_controller pointer to the struct pci_sys_data and implement
pcibios_msi_controller() to retrieve it.

This is a step toward moving the msi_controller pointer into the generic
struct pci_host_bridge.

[bhelgaas: changelog, take pci_dev instead of pci_bus]
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2014-11-21 09:32:29 -07:00
..
arch.h arm: Add devicetree fixup machine function 2014-07-29 21:26:49 -06:00
dma.h [ARM] dma: move IOMD and floppy DMA structures to RiscPC DMA code 2009-02-21 21:36:22 +00:00
flash.h
irda.h
irq.h arm: Move chained_irq_(enter|exit) to a generic file 2013-03-26 16:11:43 +00:00
map.h ARM: implement basic NX support for kernel lowmem mappings 2013-12-11 09:53:16 +00:00
pci.h ARM/PCI: Save MSI controller in pci_sys_data 2014-11-21 09:32:29 -07:00
sharpsl_param.h
time.h ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00