Thomas Petazzoni 9d981ea5d4 ARM: pci: add ->add_bus() and ->remove_bus() hooks to hw_pci
Some PCI drivers may need to adjust the pci_bus structure after it has
been allocated by the Linux PCI core. The PCI core allows
architectures to implement the pcibios_add_bus() and
pcibios_remove_bus() for this purpose. This commit therefore extends
the hw_pci and pci_sys_data structures of the ARM PCI core to allow
PCI drivers to register ->add_bus() and ->remove_bus() in hw_pci,
which will get called when a bus is added or removed from the system.

This will be used for example by the Marvell PCIe driver to connect a
particular PCI bus with its corresponding MSI chip to handle Message
Signaled Interrupts.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Daniel Price <daniel.price@gmail.com>
Tested-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2013-08-12 15:27:12 +00:00
..
2013-04-17 21:38:10 +02:00
2012-10-02 08:58:07 +02:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2013-07-02 13:43:38 -07:00
2012-12-20 10:07:25 -08:00
2012-07-05 09:50:55 +01:00
2009-03-15 21:01:20 -04:00
2011-03-31 11:26:23 -03:00
2013-04-17 21:38:10 +02:00
2013-07-02 13:43:38 -07:00
2011-03-31 11:26:23 -03:00
2012-09-14 09:21:59 -05:00
2012-09-14 13:53:39 +00:00
2013-04-17 21:38:10 +02:00
2010-10-29 13:14:40 -05:00
2012-07-24 15:27:28 +08:00
2013-06-26 10:50:04 -07:00
2013-01-23 13:29:17 -05:00
2012-02-23 20:19:04 -07:00
2013-05-21 14:24:11 +00:00
2013-04-17 21:38:10 +02:00
2010-10-01 22:32:18 -04:00
2008-11-27 12:37:59 +00:00
2012-03-28 18:30:01 +01:00
2012-08-08 16:34:01 +00:00
2011-03-31 11:26:23 -03:00
2012-01-16 08:56:25 -06:00
2013-04-17 21:38:10 +02:00
2011-07-12 11:19:29 -05:00