Skip to contentSkip to conversation

Allow for non-Intel MSI implementations

PATCH In review Michael Ellerman 2 participants 2 messages Aug 18, 2006 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 Allow for non-Intel MSI implementations

From: Jake Moilanen <[email protected]>

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.

---

 drivers/pci/Makefile |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
drivers/pci/Makefile +5 -3
Index: 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)
 
 #
#1 lore raw

drivers/pci/Makefile obj-$(CONFIG_PPC64) += setup-bus.o · line 33

Quoted 7 lines
drivers/pci/Makefile +4 -3
-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