summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/pci_machdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-08-04 16:39:16 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-08-04 16:39:16 +0000
commit84b496c7b4bd76bcd44c9f379fc27c7aa4ef3759 (patch)
tree4eff9648b8595fc7bbfe456f30d864176b92f6a3 /sys/arch/sparc64/dev/pci_machdep.c
parent97fcc3b83be1e3871c314abe7dedfca906b14431 (diff)
Add missing pci_intr_line() implementation.
ok deraadt@
Diffstat (limited to 'sys/arch/sparc64/dev/pci_machdep.c')
-rw-r--r--sys/arch/sparc64/dev/pci_machdep.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/pci_machdep.c b/sys/arch/sparc64/dev/pci_machdep.c
index 509e6f7c790..d3e83d0753f 100644
--- a/sys/arch/sparc64/dev/pci_machdep.c
+++ b/sys/arch/sparc64/dev/pci_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.c,v 1.29 2007/05/28 16:14:27 kettenis Exp $ */
+/* $OpenBSD: pci_machdep.c,v 1.30 2007/08/04 16:39:15 kettenis Exp $ */
/* $NetBSD: pci_machdep.c,v 1.22 2001/07/20 00:07:13 eeh Exp $ */
/*
@@ -426,6 +426,12 @@ pci_intr_map(pa, ihp)
return (0);
}
+int
+pci_intr_line(pci_intr_handle_t ih)
+{
+ return (ih);
+}
+
const char *
pci_intr_string(pc, ih)
pci_chipset_tag_t pc;