summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-10-26 21:47:49 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-10-26 21:47:49 +0000
commitfd7ecd584fe47d6866cb1e93a8037b975dc3bd10 (patch)
treecd4e2c4364a5c2602e7464d87dc94803ac30b1df /sys/arch/i386/pci
parent903e614ba4b014ff7618bfa1df44617cccae7978 (diff)
in set_trigger only touch triggers not whole routing crap
Diffstat (limited to 'sys/arch/i386/pci')
-rw-r--r--sys/arch/i386/pci/via8231.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/pci/via8231.c b/sys/arch/i386/pci/via8231.c
index 110519c149a..c4a688e1183 100644
--- a/sys/arch/i386/pci/via8231.c
+++ b/sys/arch/i386/pci/via8231.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: via8231.c,v 1.2 2005/10/20 15:09:31 mickey Exp $ */
+/* $OpenBSD: via8231.c,v 1.3 2005/10/26 21:47:48 mickey Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -305,9 +305,9 @@ via8231_set_trigger(v, irq, trigger)
return (1);
}
if (VIA8231_LINK_LEGAL(clink))
- VIA8231_SET_ROUTING(ph, reg);
+ VIA8231_SET_TRIGGER(ph, reg);
else
- VIA8237_SET_ROUTING(ph, reg);
+ VIA8237_SET_TRIGGER(ph, reg);
return (0);
}
}