From 9c37e1f32dbe8da7496bb5fe00d00e9d3423541f Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 28 Jun 2004 01:52:27 +0000 Subject: Use new event counter API for interrupt counting on amd64. Based in part on some changes in the i386 codebase. --- sys/arch/amd64/pci/pciide_machdep.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/arch/amd64/pci/pciide_machdep.c') 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); } -- cgit v1.2.3