Thread (29 messages) 29 messages, 3 authors, 2013-06-25

[PATCHv3 04/11] of: pci: add registry of MSI chips

flat view

From: Thomas Petazzoni <hidden>
Date: 2013-06-21 07:20:54
Also in: linux-pci

Grant,

On Wed, 19 Jun 2013 18:56:12 +0200, Thomas Petazzoni wrote:
This commit adds a very basic registry of msi_chip structures, so that
an IRQ controller driver can register an msi_chip, and a PCIe host
controller can find it, based on a 'struct device_node'.

Signed-off-by: Thomas Petazzoni <redacted>
---
 drivers/of/of_pci.c    | 22 ++++++++++++++++++++++
 include/linux/msi.h    |  2 ++
 include/linux/of_pci.h |  4 ++++
 3 files changed, 28 insertions(+)
Any comments about this idea? It is quite fundamental for this patch,
which requires a way of connecting PCI busses (handled by a PCI
driver) and a msi_chip (handled by an IRQ controller driver).

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help