diff options
author | 2017-07-31 14:46:14 +0000 | |
---|---|---|
committer | 2017-07-31 14:46:14 +0000 | |
commit | 3b1275e8b853d044b997dea36a7fb8ac6ce7dacd (patch) | |
tree | 672d79ef4dbb79d2663192737796a97a675dfd90 | |
parent | Back out previous commit but handle the case where the device path consists (diff) | |
download | wireguard-openbsd-3b1275e8b853d044b997dea36a7fb8ac6ce7dacd.tar.xz wireguard-openbsd-3b1275e8b853d044b997dea36a7fb8ac6ce7dacd.zip |
Assume edge triggering by default for robustness, as is done
in octcit(4).
-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); |