diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-03-17 21:32:03 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-03-17 21:32:03 +0000 |
commit | 28e001be6786e721e80edba1893c1371269c7375 (patch) | |
tree | bee8d8796c0ca86d9a249cc91a8e6e214564e16e /sys | |
parent | ed0c1470a20b43e6dda2c1652e69bdab92086cbf (diff) |
Add hvctl(4).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/include/conf.h | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/conf.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/sparc64/include/conf.h b/sys/arch/sparc64/include/conf.h index 331d2fdb0c1..a545442a852 100644 --- a/sys/arch/sparc64/include/conf.h +++ b/sys/arch/sparc64/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.21 2010/07/21 15:40:04 deraadt Exp $ */ +/* $OpenBSD: conf.h,v 1.22 2012/03/17 21:32:02 kettenis Exp $ */ /* $NetBSD: conf.h,v 1.9 2001/03/26 12:33:26 lukem Exp $ */ /*- @@ -102,6 +102,8 @@ cdev_decl(vcons); cdev_decl(vcctty); cdev_decl(sbbc); +cdev_decl(hvctl); + cdev_decl(com); cdev_decl(mtty); diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c index 3dff66388a1..8dfbc739c4f 100644 --- a/sys/arch/sparc64/sparc64/conf.c +++ b/sys/arch/sparc64/sparc64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.61 2011/10/06 20:49:28 deraadt Exp $ */ +/* $OpenBSD: conf.c,v 1.62 2012/03/17 21:32:02 kettenis Exp $ */ /* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */ /* @@ -82,6 +82,7 @@ #include "magma.h" /* has NMTTY and NMBPP */ #include "spif.h" /* has NSTTY and NSBPP */ #include "uperf.h" +#include "hvctl.h" #include "fdc.h" /* has NFDC and NFD; see files.sparc */ @@ -296,6 +297,7 @@ struct cdevsw cdevsw[] = cdev_bthub_init(NBTHUB,bthub), /* 129: bluetooth hub */ cdev_disk_init(1,diskmap), /* 130: disk mapper */ cdev_pppx_init(NPPPX,pppx), /* 131: pppx */ + cdev_gen_init(NHVCTL,hvctl) /* 132: hvctl */ }; int nchrdev = nitems(cdevsw); |