diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-01 11:59:41 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-01 11:59:41 +0000 |
commit | 7c8c17745187f3a98406bb29f524367c37916e73 (patch) | |
tree | 30dad47898ee31fcbac0fb74a5c5ddccaf8ce36f /sys/arch/mvme88k/dev | |
parent | 2d6ec71dd3850b256841848bec15fcbbadd35579 (diff) |
Let cons_init() and cons_init_bell() initialize the whole consdev structure,
thus removing the need for drivers to initialize cn_pri to CN_DEAD when
hardware probe fails.
Diffstat (limited to 'sys/arch/mvme88k/dev')
-rw-r--r-- | sys/arch/mvme88k/dev/cl.c | 4 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/dart.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/mvme88k/dev/cl.c b/sys/arch/mvme88k/dev/cl.c index f74f056b2d7..78c7de302cf 100644 --- a/sys/arch/mvme88k/dev/cl.c +++ b/sys/arch/mvme88k/dev/cl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cl.c,v 1.49 2005/01/25 12:13:22 miod Exp $ */ +/* $OpenBSD: cl.c,v 1.50 2006/01/01 11:59:39 miod Exp $ */ /* * Copyright (c) 1995 Dale Rahn. All rights reserved. @@ -886,8 +886,6 @@ clcnprobe(cp) { int maj; - cp->cn_pri = CN_DEAD; - /* bomb if it'a a MVME188 */ if (brdtyp == BRD_188 || badaddr(CD2400_BASE_ADDR, 1) != 0) return; diff --git a/sys/arch/mvme88k/dev/dart.c b/sys/arch/mvme88k/dev/dart.c index 9cebc3f5f1c..a5c7f9914bb 100644 --- a/sys/arch/mvme88k/dev/dart.c +++ b/sys/arch/mvme88k/dev/dart.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dart.c,v 1.44 2005/10/13 19:48:34 miod Exp $ */ +/* $OpenBSD: dart.c,v 1.45 2006/01/01 11:59:39 miod Exp $ */ /* * Mach Operating System @@ -1154,8 +1154,6 @@ dartcnprobe(cp) { int maj; - cp->cn_pri = CN_DEAD; - if (brdtyp != BRD_188 || badaddr(DART_BASE, 2) != 0) return; |