Module Name: src Committed By: snj Date: Mon Nov 6 10:29:06 UTC 2017
Modified Files: src/sys/arch/sparc64/dev [netbsd-8]: sab.c src/sys/dev/ic [netbsd-8]: com.c z8530tty.c src/sys/dev/sun [netbsd-8]: sunkbd.c sunms.c src/sys/sys [netbsd-8]: tty.h Log Message: Pull up following revision(s) (requested by martin in ticket #338): sys/arch/sparc64/dev/sab.c: revision 1.55 sys/dev/ic/com.c: revision 1.345 sys/dev/ic/z8530tty.c: revision 1.132 sys/dev/sun/sunkbd.c: revision 1.30 sys/dev/sun/sunms.c: revision 1.33 sys/sys/tty.h: revision 1.94 As discussed on tech-kern: define a new tty internal state flag: TS_KERN_ONLY Implement it in a few tty drivers. If this flag is set, the underlying hardware is used by another driver and userland has no right to open it. A few uses will appear soon in sys/dev/sun/sun{kbd,ms}.c. -- PR port-sparc64/52622: mark the parent device as TS_KERN_ONLY, so userland will not touch it (and change serial params w/o our control). To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.54.12.1 src/sys/arch/sparc64/dev/sab.c cvs rdiff -u -r1.339 -r1.339.10.1 src/sys/dev/ic/com.c cvs rdiff -u -r1.131 -r1.131.12.1 src/sys/dev/ic/z8530tty.c cvs rdiff -u -r1.29 -r1.29.22.1 src/sys/dev/sun/sunkbd.c cvs rdiff -u -r1.32 -r1.32.22.1 src/sys/dev/sun/sunms.c cvs rdiff -u -r1.93 -r1.93.12.1 src/sys/sys/tty.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.