summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2011-05-21 17:43:10 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2011-05-21 17:43:10 +0000
commit8cc1923c13f01aa636b3836e0617dad0bcfa91af (patch)
treefb26b953b360f4bf2c86eb9d7d94faaceb8e1418
parent58c6ee7375353535fc6b5a67578cadddbcb551d7 (diff)
Add pci_intr_map_msi() stub.
-rw-r--r--sys/arch/sparc64/include/pci_machdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/pci_machdep.h b/sys/arch/sparc64/include/pci_machdep.h
index 2669493abde..e2f1dc94c40 100644
--- a/sys/arch/sparc64/include/pci_machdep.h
+++ b/sys/arch/sparc64/include/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.25 2010/12/04 17:06:32 miod Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.26 2011/05/21 17:43:09 kettenis Exp $ */
/* $NetBSD: pci_machdep.h,v 1.7 2001/07/20 00:07:14 eeh Exp $ */
/*
@@ -100,6 +100,7 @@ int sparc64_pci_enumerate_bus(struct pci_softc *,
#define pciide_machdep_compat_intr_establish(a, b, c, d, e) (NULL)
#define pciide_machdep_compat_intr_disestablish(a, b) do { } while (0)
+#define pci_intr_map_msi(a, b) (1)
#define pci_dev_postattach(a, b)
#endif /* _MACHINE_PCI_MACHDEP_H_ */