diff options
| author | 1998-10-21 04:12:09 +0000 | |
|---|---|---|
| committer | 1998-10-21 04:12:09 +0000 | |
| commit | 4ab9c694993ddb3753617817bc6a3dd88fd4ebab (patch) | |
| tree | 7b9ffc866840935f59b8eb47ce63fb8354a433fa /sys/arch/sparc/dev/qec.c | |
| parent | further shrinking (diff) | |
| download | wireguard-openbsd-4ab9c694993ddb3753617817bc6a3dd88fd4ebab.tar.xz wireguard-openbsd-4ab9c694993ddb3753617817bc6a3dd88fd4ebab.zip | |
The qec global reset should only be allowed to happen once per qec card, not
once per channel init.
Diffstat (limited to 'sys/arch/sparc/dev/qec.c')
| -rw-r--r-- | sys/arch/sparc/dev/qec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/qec.c b/sys/arch/sparc/dev/qec.c index 0b5fd2de252..fcf26f1ef4c 100644 --- a/sys/arch/sparc/dev/qec.c +++ b/sys/arch/sparc/dev/qec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qec.c,v 1.6 1998/10/19 05:41:20 jason Exp $ */ +/* $OpenBSD: qec.c,v 1.7 1998/10/21 04:12:10 jason Exp $ */ /* * Copyright (c) 1998 Theo de Raadt and Jason L. Wright. @@ -151,6 +151,8 @@ qecattach(parent, self, aux) printf("\n"); + qec_reset(sc); + /* search through children */ for (node = firstchild(node); node; node = nextsibling(node)) { name = getpropstring(node, "name"); |
