diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2017-07-31 14:46:15 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2017-07-31 14:46:15 +0000 |
commit | 1a6a4a6fd5285a13fd1237b7c3d9c8d534aa4c80 (patch) | |
tree | 51c7d12443cf226d98da24dc1b49da40244518c7 /sys/arch | |
parent | 037c896b4ab4dc7c73b3394eb8208ae35baa123f (diff) |
Assume edge triggering by default for robustness, as is done
in octcit(4).
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/octeon/dev/octcib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/dev/octcib.c b/sys/arch/octeon/dev/octcib.c index ebc1ebb8d8d..859d57e8490 100644 --- a/sys/arch/octeon/dev/octcib.c +++ b/sys/arch/octeon/dev/octcib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: octcib.c,v 1.1 2017/07/13 12:50:50 visa Exp $ */ +/* $OpenBSD: octcib.c,v 1.2 2017/07/31 14:46:14 visa Exp $ */ /* * Copyright (c) 2017 Visa Hankala @@ -188,7 +188,7 @@ octcib_establish(void *cookie, int node, int idx, int level, if (bit >= sc->sc_maxbits) return NULL; - if (type == 1 || type == 2) + if (type != 4) flags |= CIH_EDGE; cih = malloc(sizeof(*cih), M_DEVBUF, M_NOWAIT); |