diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1998-10-21 04:12:11 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1998-10-21 04:12:11 +0000 |
commit | 8999dbfa2312d4d45860ef9c114b9bcf64c0e4f7 (patch) | |
tree | 0a8c0243942b7b95fd024bffb24083c8d652e339 /sys/arch/sparc/dev/qec.c | |
parent | 62b26563e3231c5e7183e054bb23785ecc6f9cbf (diff) |
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"); |