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/vax/qbus | |
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/vax/qbus')
-rw-r--r-- | sys/arch/vax/qbus/qd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/vax/qbus/qd.c b/sys/arch/vax/qbus/qd.c index 3a366171bd5..431e0e614ba 100644 --- a/sys/arch/vax/qbus/qd.c +++ b/sys/arch/vax/qbus/qd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qd.c,v 1.10 2003/11/10 21:05:06 miod Exp $ */ +/* $OpenBSD: qd.c,v 1.11 2006/01/01 11:59:39 miod Exp $ */ /* $NetBSD: qd.c,v 1.17 2000/01/24 02:40:29 matt Exp $ */ /*- @@ -429,8 +429,6 @@ qdcnprobe(cndev) { int i; - cndev->cn_pri = CN_DEAD; - if (mfpr(PR_MAPEN) == 0) return; /* Cannot use qd if vm system is OFF */ |