snp.c (132199) | snp.c (132226) |
---|---|
1/* 2 * Copyright (c) 1995 Ugen J.S.Antsilevich 3 * 4 * Redistribution and use in source forms, with and without modification, 5 * are permitted provided that this entire comment appears intact. 6 * 7 * Redistribution in binary form may occur without any restrictions. 8 * Obviously, it would be nice if you gave credit where credit is due 9 * but requiring it would be too onerous. 10 * 11 * This software is provided ``AS IS'' without any warranties of any kind. 12 * 13 * Snoop stuff. 14 * 15 */ 16 17#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 1995 Ugen J.S.Antsilevich 3 * 4 * Redistribution and use in source forms, with and without modification, 5 * are permitted provided that this entire comment appears intact. 6 * 7 * Redistribution in binary form may occur without any restrictions. 8 * Obviously, it would be nice if you gave credit where credit is due 9 * but requiring it would be too onerous. 10 * 11 * This software is provided ``AS IS'' without any warranties of any kind. 12 * 13 * Snoop stuff. 14 * 15 */ 16 17#include <sys/cdefs.h> |
18__FBSDID("$FreeBSD: head/sys/dev/snp/snp.c 132199 2004-07-15 08:26:07Z phk $"); | 18__FBSDID("$FreeBSD: head/sys/dev/snp/snp.c 132226 2004-07-15 20:47:41Z phk $"); |
19 20#include <sys/param.h> 21#include <sys/systm.h> 22#include <sys/filio.h> 23#include <sys/malloc.h> 24#include <sys/tty.h> 25#include <sys/conf.h> 26#include <sys/poll.h> --- 20 unchanged lines hidden (view full) --- 47 .d_read = snpread, 48 .d_write = snpwrite, 49 .d_ioctl = snpioctl, 50 .d_poll = snppoll, 51 .d_name = "snp", 52}; 53 54static struct linesw snpdisc = { | 19 20#include <sys/param.h> 21#include <sys/systm.h> 22#include <sys/filio.h> 23#include <sys/malloc.h> 24#include <sys/tty.h> 25#include <sys/conf.h> 26#include <sys/poll.h> --- 20 unchanged lines hidden (view full) --- 47 .d_read = snpread, 48 .d_write = snpwrite, 49 .d_ioctl = snpioctl, 50 .d_poll = snppoll, 51 .d_name = "snp", 52}; 53 54static struct linesw snpdisc = { |
55 .l_open = ttyopen, | 55 .l_open = tty_open, |
56 .l_close = snplclose, 57 .l_read = ttread, 58 .l_write = snplwrite, 59 .l_ioctl = l_nullioctl, 60 .l_rint = ttyinput, 61 .l_start = ttstart, 62 .l_modem = ttymodem 63}; --- 601 unchanged lines hidden --- | 56 .l_close = snplclose, 57 .l_read = ttread, 58 .l_write = snplwrite, 59 .l_ioctl = l_nullioctl, 60 .l_rint = ttyinput, 61 .l_start = ttstart, 62 .l_modem = ttymodem 63}; --- 601 unchanged lines hidden --- |