summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/pci/pciide_machdep.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-06-28 01:52:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-06-28 01:52:27 +0000
commit9c37e1f32dbe8da7496bb5fe00d00e9d3423541f (patch)
tree15610a98e1bf6694723cdc62e0747af3ac539908 /sys/arch/amd64/pci/pciide_machdep.c
parentad859de0f075c553882080921983e2565d6ec816 (diff)
Use new event counter API for interrupt counting on amd64. Based in part
on some changes in the i386 codebase.
Diffstat (limited to 'sys/arch/amd64/pci/pciide_machdep.c')
-rw-r--r--sys/arch/amd64/pci/pciide_machdep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/pci/pciide_machdep.c b/sys/arch/amd64/pci/pciide_machdep.c
index 9b24cf40032..17e30d1c5e3 100644
--- a/sys/arch/amd64/pci/pciide_machdep.c
+++ b/sys/arch/amd64/pci/pciide_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide_machdep.c,v 1.1 2004/01/28 01:39:39 mickey Exp $ */
+/* $OpenBSD: pciide_machdep.c,v 1.2 2004/06/28 01:52:26 deraadt Exp $ */
/* $NetBSD: pciide_machdep.c,v 1.2 1999/02/19 18:01:27 mycroft Exp $ */
/*
@@ -64,7 +64,8 @@ pciide_machdep_compat_intr_establish(dev, pa, chan, func, arg)
void *cookie;
irq = PCIIDE_COMPAT_IRQ(chan);
- cookie = isa_intr_establish(NULL, irq, IST_EDGE, IPL_BIO, func, arg, dev->dv_xname);
+ cookie = isa_intr_establish(NULL, irq, IST_EDGE, IPL_BIO, func, arg,
+ dev->dv_xname);
return (cookie);
}