Deleted Added
sdiff udiff text old ( 225214 ) new ( 228631 )
full compact
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

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/sys/pc98/cbus/sio.c 225214 2011-08-27 14:24:27Z rwatson $
30 * from: @(#)com.c 7.5 (Berkeley) 5/16/91
31 * from: i386/isa sio.c,v 1.234
32 */
33
34#include "opt_compat.h"
35#include "opt_gdb.h"
36#include "opt_kdb.h"
37#include "opt_sio.h"

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

3455static void siocnopen(struct siocnstate *sp, Port_t iobase, int speed);
3456static void siocntxwait(Port_t iobase);
3457
3458static cn_probe_t sio_cnprobe;
3459static cn_init_t sio_cninit;
3460static cn_term_t sio_cnterm;
3461static cn_getc_t sio_cngetc;
3462static cn_putc_t sio_cnputc;
3463
3464CONSOLE_DRIVER(sio);
3465
3466static void
3467siocntxwait(iobase)
3468 Port_t iobase;
3469{
3470 int timo;

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

3674
3675static void
3676sio_cnterm(cp)
3677 struct consdev *cp;
3678{
3679 comconsole = -1;
3680}
3681
3682static int
3683sio_cngetc(struct consdev *cd)
3684{
3685 int c;
3686 Port_t iobase;
3687 int s;
3688 struct siocnstate sp;
3689 speed_t speed;

--- 686 unchanged lines hidden ---