sio.c (225214) | sio.c (228631) |
---|---|
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 * | 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 $ | 29 * $FreeBSD: head/sys/pc98/cbus/sio.c 228631 2011-12-17 15:08:43Z avg $ |
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; | 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; |
3463static cn_grab_t sio_cngrab; 3464static cn_ungrab_t sio_cnungrab; |
|
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 | 3465 3466CONSOLE_DRIVER(sio); 3467 3468static void 3469siocntxwait(iobase) 3470 Port_t iobase; 3471{ 3472 int timo; --- 203 unchanged lines hidden (view full) --- 3676 3677static void 3678sio_cnterm(cp) 3679 struct consdev *cp; 3680{ 3681 comconsole = -1; 3682} 3683 |
3684static void 3685sio_cngrab(struct consdev *cp) 3686{ 3687} 3688 3689static void 3690sio_cnungrab(struct consdev *cp) 3691{ 3692} 3693 |
|
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 --- | 3694static int 3695sio_cngetc(struct consdev *cd) 3696{ 3697 int c; 3698 Port_t iobase; 3699 int s; 3700 struct siocnstate sp; 3701 speed_t speed; --- 686 unchanged lines hidden --- |