REVIEW/TEST: tty.patch

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Feb 15 03:36:58 PST 2004


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.


More information about the freebsd-current mailing list