summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2005-12-12 18:25:48 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2005-12-12 18:25:48 +0000
commit3ef78bea45f12d7a2f9c3e6420524dc8f96af899 (patch)
tree53c13accce9c41fb975956c49d096c8e4de98d4b /sys/arch
parent039b7aa97195aa61c5d21d6849b22dc1e9614262 (diff)
Pass interrupt type and level in the correct order.
ok drahn@, deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/pci/pciide_machdep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/macppc/pci/pciide_machdep.c b/sys/arch/macppc/pci/pciide_machdep.c
index ae5a510d9c5..c5df5af5472 100644
--- a/sys/arch/macppc/pci/pciide_machdep.c
+++ b/sys/arch/macppc/pci/pciide_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide_machdep.c,v 1.3 2003/10/15 23:00:57 drahn Exp $ */
+/* $OpenBSD: pciide_machdep.c,v 1.4 2005/12/12 18:25:47 kettenis Exp $ */
/* $NetBSD: pciide_machdep.c,v 1.2 1999/02/19 18:01:27 mycroft Exp $ */
/*
@@ -60,7 +60,8 @@ pciide_machdep_compat_intr_establish(struct device *dev,
void *cookie;
irq = PCIIDE_COMPAT_IRQ(chan);
- cookie = mac_intr_establish(NULL, irq, IPL_BIO, IST_EDGE, func, arg, dev->dv_xname);
+ cookie = mac_intr_establish(NULL, irq, IST_EDGE, IPL_BIO,
+ func, arg, dev->dv_xname);
return (cookie);
}