Date: Sun, 18 Oct 2009 19:48:53 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/etc gettytab src/sys/kern tty.c Message-ID: <200910181953.n9IJrAuT034594@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-10-18 19:48:53 UTC FreeBSD src repository Modified files: etc gettytab sys/kern tty.c Log: SVN rev 198214 on 2009-10-18 19:48:53Z by ed Allow the buffer size to be configured for pseudo-like TTY devices. Devices that don't implement param() (which means they don't support hardware parameters such as flow control, baud rate) hardcode the baud rate to TTYDEF_SPEED. This means the buffer size cannot be configured, which is a little inconvenient when using canonical mode with big lines of input, etc. Make it adjustable, but do clamp it between B50 and B115200 to prevent awkward buffer sizes. Remove the baud rate assignment from /etc/gettytab. Trust the kernel to fill in a proper value. Reported by: Mikolaj Golub <to my trociny gmail com> MFC after: 1 month Revision Changes Path 1.25 +1 -1 src/etc/gettytab 1.331 +13 -2 src/sys/kern/tty.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910181953.n9IJrAuT034594>