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/dev/sio/sio.c 111815 2003-03-03 12:15:54Z phk $ | 33 * $FreeBSD: head/sys/dev/sio/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" --- 275 unchanged lines hidden (view full) --- 317 .d_open = sioopen, 318 .d_close = sioclose, 319 .d_read = sioread, 320 .d_write = siowrite, 321 .d_ioctl = sioioctl, 322 .d_poll = ttypoll, 323 .d_name = sio_driver_name, 324 .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" --- 275 unchanged lines hidden (view full) --- 317 .d_open = sioopen, 318 .d_close = sioclose, 319 .d_read = sioread, 320 .d_write = siowrite, 321 .d_ioctl = sioioctl, 322 .d_poll = ttypoll, 323 .d_name = sio_driver_name, 324 .d_maj = CDEV_MAJOR, |
325 .d_flags = D_TTY | D_KQFILTER, | 325 .d_flags = D_TTY, |
326 .d_kqfilter = ttykqfilter, 327}; 328 329int comconsole = -1; 330static volatile speed_t comdefaultrate = CONSPEED; 331static u_long comdefaultrclk = DEFAULT_RCLK; 332SYSCTL_ULONG(_machdep, OID_AUTO, conrclk, CTLFLAG_RW, &comdefaultrclk, 0, ""); 333static speed_t gdbdefaultrate = GDBSPEED; --- 2944 unchanged lines hidden --- | 326 .d_kqfilter = ttykqfilter, 327}; 328 329int comconsole = -1; 330static volatile speed_t comdefaultrate = CONSPEED; 331static u_long comdefaultrclk = DEFAULT_RCLK; 332SYSCTL_ULONG(_machdep, OID_AUTO, conrclk, CTLFLAG_RW, &comdefaultrclk, 0, ""); 333static speed_t gdbdefaultrate = GDBSPEED; --- 2944 unchanged lines hidden --- |