REVIEW/TEST: tty.patch

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Sun, 15 Feb 2004 12:36:55 +0100
http://phk.freebsd.dk/patch/tty.patch

This patch adds asserts that dev_t's passed to ttyread(), ttywrite(),
ttypoll() and ttykqwrite() have (d_flags & D_TTY).

Add missing D_TTY flags to various drivers.

Make ttyread(), ttywrite(), ttypoll() and ttykqwrite() the default
cdevsw methods for D_TTY drivers.

Remove now unneeded initializations for these methods in relevant
drivers.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
Received on Sun Feb 15 2004 - 02:36:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC