diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-01-15 21:19:43 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-01-15 21:19:43 +0000 |
commit | f0ab40573f341f2c310f699a28a81b87e43f5ff2 (patch) | |
tree | 7deeeac825cdff7b6d0b725e8f2f974d71902a5d | |
parent | 900aea5fee6e7e0e7e6e8c4f0192f99befa3a927 (diff) |
Glitch in console detection code would match unsupported frame buffers with
gatorbox during console initialization. Oops.
-rw-r--r-- | sys/arch/hp300/dev/gbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/gbox.c b/sys/arch/hp300/dev/gbox.c index c571687e422..d411452dbe3 100644 --- a/sys/arch/hp300/dev/gbox.c +++ b/sys/arch/hp300/dev/gbox.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gbox.c,v 1.2 2005/01/15 21:08:36 miod Exp $ */ +/* $OpenBSD: gbox.c,v 1.3 2005/01/15 21:19:42 miod Exp $ */ /* * Copyright (c) 2005, Miodrag Vallat @@ -405,7 +405,7 @@ gbox_console_scan(int scode, caddr_t va, void *arg) struct consdev *cp = arg; int force = 0, pri; - if (fbr->id != GRFHWID || fbr->id2 == GID_GATORBOX) + if (fbr->id != GRFHWID || fbr->id2 != GID_GATORBOX) return (0); pri = CN_NORMAL; |