summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-05-10 12:34:05 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-05-10 12:34:05 +0000
commit10ab0a643994e7d763f23c5811fe7a07d1ba70af (patch)
tree0a999179ab348c182b56d063459ab91b3ae813e4 /sys
parent3428a28ca445e54321e0a27dd54c38f958fecdfe (diff)
Add vcctty(4).
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/include/conf.h3
-rw-r--r--sys/arch/sparc64/sparc64/conf.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/sparc64/include/conf.h b/sys/arch/sparc64/include/conf.h
index 20aaab95411..77d550a58cd 100644
--- a/sys/arch/sparc64/include/conf.h
+++ b/sys/arch/sparc64/include/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.19 2009/04/12 22:17:52 kettenis Exp $ */
+/* $OpenBSD: conf.h,v 1.20 2009/05/10 12:34:04 kettenis Exp $ */
/* $NetBSD: conf.h,v 1.9 2001/03/26 12:33:26 lukem Exp $ */
/*-
@@ -99,6 +99,7 @@ cdev_decl(sabtty);
cdev_decl(pcons);
cdev_decl(vcons);
+cdev_decl(vcctty);
cdev_decl(sbbc);
cdev_decl(com);
diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c
index 2670ca01165..3cdd67ea242 100644
--- a/sys/arch/sparc64/sparc64/conf.c
+++ b/sys/arch/sparc64/sparc64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.49 2009/01/25 17:30:49 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.50 2009/05/10 12:34:04 kettenis Exp $ */
/* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */
/*
@@ -75,6 +75,7 @@
#include "sab.h"
#include "pcons.h"
#include "vcons.h"
+#include "vcctty.h"
#include "sbbc.h"
#include "com.h"
#include "lpt.h"
@@ -286,7 +287,8 @@ struct cdevsw cdevsw[] =
cdev_ptm_init(NPTY,ptm), /* 123: pseudo-tty ptm device */
cdev_hotplug_init(NHOTPLUG,hotplug), /* 124: devices hot plugging */
cdev_tty_init(NVCONS,vcons), /* 125: virtual console */
- cdev_tty_init(NSBBC,sbbc) /* 126: SBBC console */
+ cdev_tty_init(NSBBC,sbbc), /* 126: SBBC console */
+ cdev_tty_init(NVCCTTY,vcctty) /* 127: virtual console concentrator */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);