Deleted Added
full compact
sio.c (65596) sio.c (65602)
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 65596 2000-09-08 00:35:46Z jhb $
33 * $FreeBSD: head/sys/dev/sio/sio.c 65602 2000-09-08 06:58:58Z grog $
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"

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

1975 CE_RECORD(com, CE_INTERRUPT_BUF_OVERFLOW);
1976 else {
1977 if (com->do_timestamp)
1978 microtime(&com->timestamp);
1979 ++com_events;
1980/* XXX - needs to go away when alpha gets ithreads */
1981#ifdef __alpha__
1982 schedsofttty();
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"

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

1975 CE_RECORD(com, CE_INTERRUPT_BUF_OVERFLOW);
1976 else {
1977 if (com->do_timestamp)
1978 microtime(&com->timestamp);
1979 ++com_events;
1980/* XXX - needs to go away when alpha gets ithreads */
1981#ifdef __alpha__
1982 schedsofttty();
1983#else
1984 setsofttty();
1983#endif
1984#if 0 /* for testing input latency vs efficiency */
1985if (com->iptr - com->ibuf == 8)
1986 setsofttty();
1987#endif
1988 ioptr[0] = recv_data;
1989 ioptr[com->ierroff] = line_status;
1990 com->iptr = ++ioptr;

--- 1389 unchanged lines hidden ---
1985#endif
1986#if 0 /* for testing input latency vs efficiency */
1987if (com->iptr - com->ibuf == 8)
1988 setsofttty();
1989#endif
1990 ioptr[0] = recv_data;
1991 ioptr[com->ierroff] = line_status;
1992 com->iptr = ++ioptr;

--- 1389 unchanged lines hidden ---