Date: Mon, 18 Oct 2004 21:51:27 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha promcons.c src/sys/alpha/tlsb zs_tlsb.c src/sys/dev/dcons dcons_os.c src/sys/dev/digi digi.c src/sys/dev/nmdm nmdm.c src/sys/dev/ofw ofw_console.c src/sys/dev/syscons syscons.c sysmouse.c src/sys/dev/zs zs.c ... Message-ID: <200410182151.i9ILpRE1013431@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2004-10-18 21:51:27 UTC FreeBSD src repository Modified files: sys/alpha/alpha promcons.c sys/alpha/tlsb zs_tlsb.c sys/dev/dcons dcons_os.c sys/dev/digi digi.c sys/dev/nmdm nmdm.c sys/dev/ofw ofw_console.c sys/dev/syscons syscons.c sysmouse.c sys/dev/zs zs.c sys/i386/isa/pcvt pcvt_drv.c sys/ia64/ia64 ssc.c sys/kern tty.c tty_pty.c sys/sys tty.h Log: Add new function ttyinitmode() which sets our systemwide default modes on a tty structure. Both the ".init" and the current settings are initialized allowing the function to be used both at attach and open time. The function takes an argument to decide if echoing should be enabled. Echoing should not be enabled for regular physical serial ports unless they are consoles, in which case they should be configured by ttyconsolemode() instead. Use the new function throughout. Revision Changes Path 1.42 +1 -6 src/sys/alpha/alpha/promcons.c 1.49 +1 -6 src/sys/alpha/tlsb/zs_tlsb.c 1.3 +1 -6 src/sys/dev/dcons/dcons_os.c 1.57 +1 -16 src/sys/dev/digi/digi.c 1.31 +1 -7 src/sys/dev/nmdm/nmdm.c 1.30 +1 -6 src/sys/dev/ofw/ofw_console.c 1.431 +20 -20 src/sys/dev/syscons/syscons.c 1.26 +1 -6 src/sys/dev/syscons/sysmouse.c 1.29 +2 -15 src/sys/dev/zs/zs.c 1.90 +1 -6 src/sys/i386/isa/pcvt/pcvt_drv.c 1.24 +1 -6 src/sys/ia64/ia64/ssc.c 1.239 +29 -12 src/sys/kern/tty.c 1.133 +1 -6 src/sys/kern/tty_pty.c 1.97 +1 -0 src/sys/sys/tty.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410182151.i9ILpRE1013431>