[RFC/PATCH 2/4] Allow for non-Intel MSI implementations

STALE7290d

2 messages, 2 authors, 2006-08-18 · open the first message on its own page

[RFC/PATCH 2/4] Allow for non-Intel MSI implementations

From: Michael Ellerman <hidden>
Date: 2006-08-18 08:13:29

From: Jake Moilanen <redacted>

This allows an architecture to provide its own MSI implementation
instead of msi.c and msi-apic.c.  We will need this on IBM System-p
machines where the hypervisor controls the assignment and setup of
MSIs.  A following patch will provide an MSI implementation for these
machines.

Signed-off-by: Jake Moilanen <redacted>
---

 drivers/pci/Makefile |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Index: git/drivers/pci/Makefile
===================================================================
--- git.orig/drivers/pci/Makefile
+++ git/drivers/pci/Makefile
@@ -27,9 +27,11 @@ obj-$(CONFIG_PPC64) += setup-bus.o
 obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
 obj-$(CONFIG_X86_VISWS) += setup-irq.o
 
-msiobj-y := msi.o msi-apic.o
-msiobj-$(CONFIG_IA64_GENERIC) += msi-altix.o
-msiobj-$(CONFIG_IA64_SGI_SN2) += msi-altix.o
+msiobj-$(CONFIG_X86) := msi.o msi-apic.o
+msiobj-$(CONFIG_IA64) := msi.o msi-apic.o
+msiobj-$(CONFIG_IA64_GENERIC) := msi-altix.o
+msiobj-$(CONFIG_IA64_SGI_SN2) := msi-altix.o
+
 obj-$(CONFIG_PCI_MSI) += $(msiobj-y)
 
 #

Re: [RFC/PATCH 2/4] Allow for non-Intel MSI implementations

From: Segher Boessenkool <hidden>
Date: 2006-08-18 13:04:02

-msiobj-y := msi.o msi-apic.o
-msiobj-$(CONFIG_IA64_GENERIC) += msi-altix.o
-msiobj-$(CONFIG_IA64_SGI_SN2) += msi-altix.o
+msiobj-$(CONFIG_X86) := msi.o msi-apic.o
+msiobj-$(CONFIG_IA64) := msi.o msi-apic.o
+msiobj-$(CONFIG_IA64_GENERIC) := msi-altix.o
+msiobj-$(CONFIG_IA64_SGI_SN2) := msi-altix.o
The msi-altix changes are wrong, /me thinks.


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help