artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
629d9e0
)
Make octeon_intr_establish() assume edge triggering with CIU3.
author
visa
<visa@openbsd.org>
Wed, 27 Dec 2017 13:16:53 +0000
(13:16 +0000)
committer
visa
<visa@openbsd.org>
Wed, 27 Dec 2017 13:16:53 +0000
(13:16 +0000)
This makes the API usable with edge triggered interrupt sources.
sys/arch/octeon/dev/octcit.c
patch
|
blob
|
history
diff --git
a/sys/arch/octeon/dev/octcit.c
b/sys/arch/octeon/dev/octcit.c
index
c01ee6d
..
fef4663
100644
(file)
--- a/
sys/arch/octeon/dev/octcit.c
+++ b/
sys/arch/octeon/dev/octcit.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: octcit.c,v 1.
3 2017/12/27 13:14:42
visa Exp $ */
+/* $OpenBSD: octcit.c,v 1.
4 2017/12/27 13:16:53
visa Exp $ */
/*
* Copyright (c) 2017 Visa Hankala
@@
-244,7
+244,8
@@
void *
octcit_intr_establish(int irq, int level, int (*func)(void *), void *arg,
const char *name)
{
- return octcit_intr_establish_intsn(irq, level, 0, func, arg, name);
+ return octcit_intr_establish_intsn(irq, level, CIH_EDGE, func, arg,
+ name);
}
void *