tty.c (68127) | tty.c (78410) |
---|---|
1/*- 2 * Copyright (c) 1999 Brian Somers <brian@Awfulhak.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1999 Brian Somers <brian@Awfulhak.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/usr.sbin/ppp/tty.c 68127 2000-10-31 23:27:35Z brian $ | 26 * $FreeBSD: head/usr.sbin/ppp/tty.c 78410 2001-06-18 14:59:36Z brian $ |
27 */ 28 29#include <sys/param.h> 30#include <sys/un.h> 31#if defined(__OpenBSD__) || defined(__NetBSD__) 32#include <sys/ioctl.h> 33#endif 34 --- 293 unchanged lines hidden (view full) --- 328 timer_Stop(&dev->Timer); 329 dev->Timer.state = TIMER_RUNNING; 330 } 331} 332 333static struct device basettydevice = { 334 TTY_DEVICE, 335 "tty", | 27 */ 28 29#include <sys/param.h> 30#include <sys/un.h> 31#if defined(__OpenBSD__) || defined(__NetBSD__) 32#include <sys/ioctl.h> 33#endif 34 --- 293 unchanged lines hidden (view full) --- 328 timer_Stop(&dev->Timer); 329 dev->Timer.state = TIMER_RUNNING; 330 } 331} 332 333static struct device basettydevice = { 334 TTY_DEVICE, 335 "tty", |
336 0, |
|
336 { CD_VARIABLE, DEF_TTYCDDELAY }, 337 tty_AwaitCarrier, 338 NULL, 339 tty_Raw, 340 tty_Offline, 341 tty_Cooked, 342 tty_StopTimer, 343 tty_Free, --- 127 unchanged lines hidden --- | 337 { CD_VARIABLE, DEF_TTYCDDELAY }, 338 tty_AwaitCarrier, 339 NULL, 340 tty_Raw, 341 tty_Offline, 342 tty_Cooked, 343 tty_StopTimer, 344 tty_Free, --- 127 unchanged lines hidden --- |