diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-30 18:03:37 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-30 18:03:37 +0000 |
commit | 320c1f0eaec09e86849eda61638feb804019c8bc (patch) | |
tree | 775c9b361808206d7d117f63b55c8c0625c9832e /sys/arch/hp300/dev/rbox.c | |
parent | 73d78bcc40a727f0cae5f4d9c0908246d4d06f46 (diff) |
When a driver claims console, let it set conscode to itself, instead of
letting the bus walkers do this for it. This is necessary since apci does
not use the bus walkers, now that we do not force console probes to stop
when apci claims console.
Diffstat (limited to 'sys/arch/hp300/dev/rbox.c')
-rw-r--r-- | sys/arch/hp300/dev/rbox.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hp300/dev/rbox.c b/sys/arch/hp300/dev/rbox.c index aa8c411b37a..01068802715 100644 --- a/sys/arch/hp300/dev/rbox.c +++ b/sys/arch/hp300/dev/rbox.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rbox.c,v 1.10 2005/12/30 18:00:21 miod Exp $ */ +/* $OpenBSD: rbox.c,v 1.11 2005/12/30 18:03:33 miod Exp $ */ /* * Copyright (c) 2005, Miodrag Vallat @@ -418,6 +418,7 @@ rbox_console_scan(int scode, caddr_t va, void *arg) */ if (((cn_tab == NULL) || (cp->cn_pri > cn_tab->cn_pri)) || force) { cn_tab = cp; + conscode = scode; return (DIO_SIZE(scode, va)); } return (0); |