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 | |
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')
-rw-r--r-- | sys/arch/sparc/dev/be.c | 4 | ||||
-rw-r--r-- | sys/arch/sparc/dev/qe.c | 4 | ||||
-rw-r--r-- | sys/arch/sparc/dev/qec.c | 4 |
3 files changed, 5 insertions, 7 deletions
diff --git a/sys/arch/sparc/dev/be.c b/sys/arch/sparc/dev/be.c index b663fb5ddbd..0b2b55e1479 100644 --- a/sys/arch/sparc/dev/be.c +++ b/sys/arch/sparc/dev/be.c @@ -1,4 +1,4 @@ -/* $OpenBSD: be.c,v 1.16 1998/10/19 05:39:29 jason Exp $ */ +/* $OpenBSD: be.c,v 1.17 1998/10/21 04:12:09 jason Exp $ */ /* * Copyright (c) 1998 Theo de Raadt and Jason L. Wright. @@ -688,8 +688,6 @@ beinit(sc) sc->sc_nticks = 0; - qec_reset(sc->sc_qec); - /* * init QEC: 'be' specific initializations */ diff --git a/sys/arch/sparc/dev/qe.c b/sys/arch/sparc/dev/qe.c index 85285b8ab61..974f9dc45d5 100644 --- a/sys/arch/sparc/dev/qe.c +++ b/sys/arch/sparc/dev/qe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qe.c,v 1.3 1998/10/20 00:57:52 jason Exp $ */ +/* $OpenBSD: qe.c,v 1.4 1998/10/21 04:12:10 jason Exp $ */ /* * Copyright (c) 1998 Jason L. Wright. @@ -681,8 +681,6 @@ qeinit(sc) int s = splimp(); int i; - qec_reset(sc->sc_qec); - /* * init QEC: 'qe' specific initializations */ 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"); |