diff options
author | Stefan Fritsch <sf@cvs.openbsd.org> | 2015-12-21 22:15:54 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@cvs.openbsd.org> | 2015-12-21 22:15:54 +0000 |
commit | 4a5b9623ccbe4632ccd0f7c8f65419dd08900017 (patch) | |
tree | bdb55f5b41f934aca0d91d2acebebf6d1de94cd6 /etc | |
parent | 8c5eba112685438d66036673fc3a015feb88fb92 (diff) |
add virtio-console driver
This patch adds a new driver for use of virtio-console devices as
ttys. It's still in an early state and not compiled by default, yet.
Currently it is only wired into amd64. i386 is still missing.
Discussed with uebayasi@, deraadt@
Diffstat (limited to 'etc')
-rw-r--r-- | etc/MAKEDEV.common | 4 | ||||
-rw-r--r-- | etc/etc.amd64/MAKEDEV.md | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/etc/MAKEDEV.common b/etc/MAKEDEV.common index 1f03b7636c0..92cce531a1a 100644 --- a/etc/MAKEDEV.common +++ b/etc/MAKEDEV.common @@ -1,4 +1,4 @@ -vers(a, {-$OpenBSD: MAKEDEV.common,v 1.82 2015/12/09 04:11:58 deraadt Exp $-})dnl +vers(a, {-$OpenBSD: MAKEDEV.common,v 1.83 2015/12/21 22:15:53 sf Exp $-})dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> dnl @@ -383,6 +383,8 @@ _mkdev(com, {-tty[0-7][0-9a-f]-}, {-U=${i#tty*} M tty$U c major_com_c $o 660 dialer uucp M cua$U c major_com_c Add($o, 128) 660 dialer uucp-})dnl __devitem(ttyc, ttyc*, Cyclades serial ports,cy)dnl +__devitem(ttyVI, ttyVI*, Virtio serial ports,viocon)dnl +_mkdev(ttyVI, ttyVI*, {-M ttyVI$U c major_ttyVI_c $U 660 dialer uucp-})dnl __devitem(tzs, tty[a-z]*, Zilog 8530 Serial Port,zs)dnl _mkdev(tzs, {-tty[a-z]-}, {-u=${i#tty*} case $u in diff --git a/etc/etc.amd64/MAKEDEV.md b/etc/etc.amd64/MAKEDEV.md index 390867ce853..104a91bc449 100644 --- a/etc/etc.amd64/MAKEDEV.md +++ b/etc/etc.amd64/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,amd64)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.61 2015/11/10 21:42:28 sthen Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.62 2015/12/21 22:15:53 sf Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -39,6 +39,7 @@ _DEV(st, 14, 5) _TITLE(term) _DEV(com, 8) _DEV(ttyc, 38) +_DEV(ttyVI, 94) _TITLE(pty) _DEV(ptm, 81) _DEV(pty, 6) @@ -130,5 +131,6 @@ target(all, bktr, 0)dnl target(all, gpio, 0, 1, 2)dnl target(all, nvram)dnl target(all, drm, 0, 1, 2, 3)dnl +target(all, ttyVI, 00, 10, 20, 30, 40)dnl twrget(ramd, wsdisp, ttyC, 0)dnl target(ramd, fd, 0)dnl |