diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-04 20:31:22 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-04 20:31:22 +0000 |
commit | 462e36b9706f787e9602e4fe07cacea43bc84fe1 (patch) | |
tree | ac3c71a082e50613b1c432891ca1dbbfd7944459 /sys/lib/libsa/cons.c | |
parent | 9410882c401298bf5614ac10b02997dd642f7dea (diff) |
do consdev
Diffstat (limited to 'sys/lib/libsa/cons.c')
-rw-r--r-- | sys/lib/libsa/cons.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libsa/cons.c b/sys/lib/libsa/cons.c index 9bfa91e5a63..ea127eac162 100644 --- a/sys/lib/libsa/cons.c +++ b/sys/lib/libsa/cons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cons.c,v 1.5 1997/07/17 23:26:07 mickey Exp $ */ +/* $OpenBSD: cons.c,v 1.6 1997/08/04 20:31:21 mickey Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -32,14 +32,18 @@ * */ +#include <sys/types.h> +#include <dev/cons.h> #include "stand.h" static const struct consw *console = &consw[0]; +int consdev; int cons_probe() { int i, f = 0; + consdev = CN_NORMAL; for (i = 0; i < ncons; i++) { if ((consw[i].cn_probe)() != 0) { if (f == 0) |