From owner-cvs-sys Sat Jul 29 06:40:21 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id GAA20090 for cvs-sys-outgoing; Sat, 29 Jul 1995 06:40:21 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id GAA20080 ; Sat, 29 Jul 1995 06:40:16 -0700 Date: Sat, 29 Jul 1995 06:40:16 -0700 From: Bruce Evans Message-Id: <199507291340.GAA20080@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys tty.h Sender: cvs-sys-owner@freebsd.org Precedence: bulk bde 95/07/29 06:40:15 Modified: sys/kern tty.c tty_conf.c sys/net if_ppp.c if_sl.c sys/sys tty.h Log: Obtained from: partly from ancient patches by ache and me via 1.1.5 Remove nullmodem(). It may be useful to have a null modem routine, but nullmodem() wasn't one. nullmodem() was identical to ttymodem() except it didn't implement MDMBUF (carrier) flow control, didn't do any wakeups for off to on carrier transitions, and didn't flush the i/o queues for on to off carrier transitions (flushing has the side effect of waking up readers and writers) although it did generate SIGHUPs. The wakeups must normally be done even if nullmodem() is null in case something is sleeping waiting for a carrier transition. In any case, the wakeups should be harmless. They may cause bogus results for select(), but select() is already bogus for nonstandard line disciplines.