summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2011-05-21 20:47:40 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2011-05-21 20:47:40 +0000
commit7fcef736583405ca94cc7c13849561b554e1bbd7 (patch)
tree66b38b4e202c22bed1cd93593e7e815ebf2ac404 /sys/arch/powerpc
parent2293ffcf79a580836e333c3078cd6e28e2653bb3 (diff)
It's better to have the pci_intr_map_msi() stub return -1.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/pci/pci_machdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc/pci/pci_machdep.h b/sys/arch/powerpc/pci/pci_machdep.h
index 338fc855063..a2cd61a8661 100644
--- a/sys/arch/powerpc/pci/pci_machdep.h
+++ b/sys/arch/powerpc/pci/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.20 2011/05/21 19:23:29 kettenis Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.21 2011/05/21 20:47:39 kettenis Exp $ */
/*
* Copyright (c) 1996 Carnegie-Mellon University.
@@ -85,7 +85,7 @@ struct ppc_pci_chipset {
#define pci_intr_map(pa, ihp) \
(*((pa)->pa_pc)->pc_intr_map)((pa)->pa_pc->pc_intr_v, \
(pa)->pa_intrtag, (pa)->pa_intrpin, (pa)->pa_intrline, (ihp))
-#define pci_intr_map_msi(pa, ihp) (1)
+#define pci_intr_map_msi(pa, ihp) (-1)
#define pci_intr_string(c, ih) \
(*(c)->pc_intr_string)((c)->pc_intr_v, (ih))
#define pci_intr_line(c, ih) \