sio.c (111815) | sio.c (111821) |
---|---|
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/pc98/cbus/sio.c 111815 2003-03-03 12:15:54Z phk $ | 33 * $FreeBSD: head/sys/pc98/cbus/sio.c 111821 2003-03-03 16:24:47Z phk $ |
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" --- 368 unchanged lines hidden (view full) --- 410 .d_open = sioopen, 411 .d_close = sioclose, 412 .d_read = sioread, 413 .d_write = siowrite, 414 .d_ioctl = sioioctl, 415 .d_poll = ttypoll, 416 .d_name = sio_driver_name, 417 .d_maj = CDEV_MAJOR, | 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" --- 368 unchanged lines hidden (view full) --- 410 .d_open = sioopen, 411 .d_close = sioclose, 412 .d_read = sioread, 413 .d_write = siowrite, 414 .d_ioctl = sioioctl, 415 .d_poll = ttypoll, 416 .d_name = sio_driver_name, 417 .d_maj = CDEV_MAJOR, |
418 .d_flags = D_TTY | D_KQFILTER, | 418 .d_flags = D_TTY, |
419 .d_kqfilter = ttykqfilter, 420}; 421 422int comconsole = -1; 423static volatile speed_t comdefaultrate = CONSPEED; 424static u_long comdefaultrclk = DEFAULT_RCLK; 425SYSCTL_ULONG(_machdep, OID_AUTO, conrclk, CTLFLAG_RW, &comdefaultrclk, 0, ""); 426static speed_t gdbdefaultrate = GDBSPEED; --- 4679 unchanged lines hidden --- | 419 .d_kqfilter = ttykqfilter, 420}; 421 422int comconsole = -1; 423static volatile speed_t comdefaultrate = CONSPEED; 424static u_long comdefaultrclk = DEFAULT_RCLK; 425SYSCTL_ULONG(_machdep, OID_AUTO, conrclk, CTLFLAG_RW, &comdefaultrclk, 0, ""); 426static speed_t gdbdefaultrate = GDBSPEED; --- 4679 unchanged lines hidden --- |