summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2008-12-06 05:08:03 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2008-12-06 05:08:03 +0000
commita509138d10b902ba1c33879512c14ab610ffeea0 (patch)
tree2d87f1388ef741279666ae1df3b15a412ae28b64 /sys
parentf09a245d003d97d33aca02a1c2f07681a98632d9 (diff)
cvs wouldn't let me check this in before
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/pci/pci_machdep.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/amd64/pci/pci_machdep.c b/sys/arch/amd64/pci/pci_machdep.c
index c77f2f8016b..b1580779134 100644
--- a/sys/arch/amd64/pci/pci_machdep.c
+++ b/sys/arch/amd64/pci/pci_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.c,v 1.16 2008/12/03 15:46:06 oga Exp $ */
+/* $OpenBSD: pci_machdep.c,v 1.17 2008/12/06 05:08:02 tedu Exp $ */
/* $NetBSD: pci_machdep.c,v 1.3 2003/05/07 21:33:58 fvdl Exp $ */
/*-
@@ -518,8 +518,8 @@ pci_intr_string(pci_chipset_tag_t pc, pci_intr_handle_t ih)
}
void *
-pci_intr_establish(pci_chipset_tag_t pc, pci_intr_handle_t ih, int level,
- int (*func)(void *), void *arg, char *what)
+pci_intr_establish_flags(pci_chipset_tag_t pc, pci_intr_handle_t ih, int level,
+ int (*func)(void *), void *arg, char *what, int flags)
{
int pin, irq;
struct pic *pic;
@@ -542,7 +542,8 @@ pci_intr_establish(pci_chipset_tag_t pc, pci_intr_handle_t ih, int level,
}
#endif
- return intr_establish(irq, pic, pin, IST_LEVEL, level, func, arg, what);
+ return intr_establish(irq, pic, pin, IST_LEVEL, level, func, arg, what,
+ flags);
}
void