Date: Sun, 23 Aug 2009 08:04:40 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/snp snp.c src/sys/kern tty_pts.c tty_ttydisc.c src/sys/sys ttydisc.h Message-ID: <200908230805.n7N85MQE027066@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-08-23 08:04:40 UTC FreeBSD src repository Modified files: sys/dev/snp snp.c sys/kern tty_pts.c tty_ttydisc.c sys/sys ttydisc.h Log: SVN rev 196452 on 2009-08-23 08:04:40Z by ed Add ttydisc_rint_simple(). I noticed several drivers in our tree don't actually care about parity and framing, such as pts(4), snp(4) (and my partially finished console driver). Instead of duplicating a lot of code, I think we'd better add a utility function for those drivers to quickly process a buffer of input. Also change pts(4) and snp(4) to use this function. Revision Changes Path 1.116 +3 -8 src/sys/dev/snp/snp.c 1.36 +6 -19 src/sys/kern/tty_pts.c 1.11 +16 -0 src/sys/kern/tty_ttydisc.c 1.7 +1 -0 src/sys/sys/ttydisc.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908230805.n7N85MQE027066>