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/cl.c | |
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/cl.c')
-rw-r--r-- | sys/arch/mvme88k/dev/cl.c | 4 |
1 files changed, 1 insertions, 3 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; |