Deleted Added
full compact
si.c (69781) si.c (72521)
1/*
2 * Device driver for Specialix range (SI/XIO) of serial line multiplexors.
3 *
4 * Copyright (C) 1990, 1992, 1998 Specialix International,
5 * Copyright (C) 1993, Andy Rutter <andy@acronym.co.uk>
6 * Copyright (C) 2000, Peter Wemm <peter@netplex.com.au>
7 *
8 * Originally derived from: SunOS 4.x version

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

25 * International may be used to endorse or promote products derived from
26 * this software without specific prior written permission.
27 *
28 * THIS SOFTWARE IS PROVIDED BY ``AS IS'' AND ANY EXPRESS OR IMPLIED
29 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
30 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
31 * NO EVENT SHALL THE AUTHORS BE LIABLE.
32 *
1/*
2 * Device driver for Specialix range (SI/XIO) of serial line multiplexors.
3 *
4 * Copyright (C) 1990, 1992, 1998 Specialix International,
5 * Copyright (C) 1993, Andy Rutter <andy@acronym.co.uk>
6 * Copyright (C) 2000, Peter Wemm <peter@netplex.com.au>
7 *
8 * Originally derived from: SunOS 4.x version

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

25 * International may be used to endorse or promote products derived from
26 * this software without specific prior written permission.
27 *
28 * THIS SOFTWARE IS PROVIDED BY ``AS IS'' AND ANY EXPRESS OR IMPLIED
29 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
30 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
31 * NO EVENT SHALL THE AUTHORS BE LIABLE.
32 *
33 * $FreeBSD: head/sys/dev/si/si.c 69781 2000-12-08 21:51:06Z dwmalone $
33 * $FreeBSD: head/sys/dev/si/si.c 72521 2001-02-15 16:34:11Z jlemon $
34 */
35
36#ifndef lint
37static const char si_copyright1[] = "@(#) Copyright (C) Specialix International, 1990,1992,1998",
38 si_copyright2[] = "@(#) Copyright (C) Andy Rutter 1993",
39 si_copyright3[] = "@(#) Copyright (C) Peter Wemm 2000";
40#endif /* not lint */
41

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

124 /* ioctl */ siioctl,
125 /* poll */ ttypoll,
126 /* mmap */ nommap,
127 /* strategy */ nostrategy,
128 /* name */ "si",
129 /* maj */ CDEV_MAJOR,
130 /* dump */ nodump,
131 /* psize */ nopsize,
34 */
35
36#ifndef lint
37static const char si_copyright1[] = "@(#) Copyright (C) Specialix International, 1990,1992,1998",
38 si_copyright2[] = "@(#) Copyright (C) Andy Rutter 1993",
39 si_copyright3[] = "@(#) Copyright (C) Peter Wemm 2000";
40#endif /* not lint */
41

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

124 /* ioctl */ siioctl,
125 /* poll */ ttypoll,
126 /* mmap */ nommap,
127 /* strategy */ nostrategy,
128 /* name */ "si",
129 /* maj */ CDEV_MAJOR,
130 /* dump */ nodump,
131 /* psize */ nopsize,
132 /* flags */ D_TTY,
133 /* bmaj */ -1
132 /* flags */ D_TTY | D_KQFILTER,
133 /* bmaj */ -1,
134 /* kqfilter */ ttykqfilter,
134};
135
136static int si_Nports;
137static int si_Nmodules;
138static int si_debug = 0; /* data, not bss, so it's patchable */
139
140SYSCTL_INT(_machdep, OID_AUTO, si_debug, CTLFLAG_RW, &si_debug, 0, "");
141

--- 2054 unchanged lines hidden ---
135};
136
137static int si_Nports;
138static int si_Nmodules;
139static int si_debug = 0; /* data, not bss, so it's patchable */
140
141SYSCTL_INT(_machdep, OID_AUTO, si_debug, CTLFLAG_RW, &si_debug, 0, "");
142

--- 2054 unchanged lines hidden ---