Deleted Added
full compact
sio.c (72358) sio.c (72521)
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
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

--- 16 unchanged lines hidden (view full) ---

25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
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

--- 16 unchanged lines hidden (view full) ---

25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * $FreeBSD: head/sys/dev/sio/sio.c 72358 2001-02-11 10:44:09Z markm $
33 * $FreeBSD: head/sys/dev/sio/sio.c 72521 2001-02-15 16:34:11Z jlemon $
34 * from: @(#)com.c 7.5 (Berkeley) 5/16/91
35 * from: i386/isa sio.c,v 1.234
36 */
37
38#include "opt_comconsole.h"
39#include "opt_compat.h"
40#include "opt_ddb.h"
41#include "opt_sio.h"

--- 341 unchanged lines hidden (view full) ---

383 /* ioctl */ sioioctl,
384 /* poll */ ttypoll,
385 /* mmap */ nommap,
386 /* strategy */ nostrategy,
387 /* name */ driver_name,
388 /* maj */ CDEV_MAJOR,
389 /* dump */ nodump,
390 /* psize */ nopsize,
34 * from: @(#)com.c 7.5 (Berkeley) 5/16/91
35 * from: i386/isa sio.c,v 1.234
36 */
37
38#include "opt_comconsole.h"
39#include "opt_compat.h"
40#include "opt_ddb.h"
41#include "opt_sio.h"

--- 341 unchanged lines hidden (view full) ---

383 /* ioctl */ sioioctl,
384 /* poll */ ttypoll,
385 /* mmap */ nommap,
386 /* strategy */ nostrategy,
387 /* name */ driver_name,
388 /* maj */ CDEV_MAJOR,
389 /* dump */ nodump,
390 /* psize */ nopsize,
391 /* flags */ D_TTY,
392 /* bmaj */ -1
391 /* flags */ D_TTY | D_KQFILTER,
392 /* bmaj */ -1,
393 /* kqfilter */ ttykqfilter,
393};
394
395int comconsole = -1;
396static volatile speed_t comdefaultrate = CONSPEED;
397#ifdef __alpha__
398static volatile speed_t gdbdefaultrate = CONSPEED;
399#endif
400static u_int com_events; /* input chars + weighted output completions */

--- 2952 unchanged lines hidden ---
394};
395
396int comconsole = -1;
397static volatile speed_t comdefaultrate = CONSPEED;
398#ifdef __alpha__
399static volatile speed_t gdbdefaultrate = CONSPEED;
400#endif
401static u_int com_events; /* input chars + weighted output completions */

--- 2952 unchanged lines hidden ---