Module Name: src Committed By: riastradh Date: Fri Aug 12 11:15:42 UTC 2022
Modified Files: src/distrib/sets/lists/man: mi src/etc: MAKEDEV.tmpl src/etc/etc.alpha: MAKEDEV.conf src/etc/etc.amd64: MAKEDEV.conf src/etc/etc.evbarm: MAKEDEV.conf src/etc/etc.evbmips: MAKEDEV.conf src/etc/etc.evbppc: MAKEDEV.conf src/etc/etc.hppa: MAKEDEV.conf src/etc/etc.i386: MAKEDEV.conf src/etc/etc.macppc: MAKEDEV.conf src/share/man/man4: Makefile src/sys/conf: majors src/sys/dev/virtio: files.virtio Added Files: src/share/man/man4: viocon.4 src/sys/dev/virtio: viocon.c Log Message: viocon(4): New virtio tty driver imported from OpenBSD. viocon* at virtio? /dev/ttyVI?? Tested under qemu with: qemu-system-aarch64 ... \ -device virtio-serial \ -chardev socket,path=/tmp/ttyVI00,server=on,wait=off,id=ttyVI00 \ -device virtconsole,chardev=ttyVI00,name=org.NetBSD.dev.ttyVI00 \ ... I updated MAKEDEV.conf to create /dev/ttyVI?? on all ports where it looks likely to work based on: (a) having pci or a non-pci virtio attachment, (b) `qemu-system-$ARCH -M ?' mentioned something resembling the port, and (c) `qemu-system-$ARCH -device virtio-serial' launched without complaining about the virtio-serial device. (Criterion (c) excluded sparc and sparc64.) To generate a diff of this commit: cvs rdiff -u -r1.1752 -r1.1753 src/distrib/sets/lists/man/mi cvs rdiff -u -r1.230 -r1.231 src/etc/MAKEDEV.tmpl cvs rdiff -u -r1.14 -r1.15 src/etc/etc.alpha/MAKEDEV.conf cvs rdiff -u -r1.33 -r1.34 src/etc/etc.amd64/MAKEDEV.conf cvs rdiff -u -r1.22 -r1.23 src/etc/etc.evbarm/MAKEDEV.conf cvs rdiff -u -r1.11 -r1.12 src/etc/etc.evbmips/MAKEDEV.conf cvs rdiff -u -r1.12 -r1.13 src/etc/etc.evbppc/MAKEDEV.conf cvs rdiff -u -r1.2 -r1.3 src/etc/etc.hppa/MAKEDEV.conf cvs rdiff -u -r1.34 -r1.35 src/etc/etc.i386/MAKEDEV.conf cvs rdiff -u -r1.13 -r1.14 src/etc/etc.macppc/MAKEDEV.conf cvs rdiff -u -r1.727 -r1.728 src/share/man/man4/Makefile cvs rdiff -u -r0 -r1.1 src/share/man/man4/viocon.4 cvs rdiff -u -r1.101 -r1.102 src/sys/conf/majors cvs rdiff -u -r1.4 -r1.5 src/sys/dev/virtio/files.virtio cvs rdiff -u -r0 -r1.1 src/sys/dev/virtio/viocon.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.