Deleted Added
sdiff udiff text old ( 46813 ) new ( 47625 )
full compact
1/*
2 * Copyright (c) Comtrol Corporation <support@comtrol.com>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted prodived that the follwoing conditions
7 * are met.
8 * 1. Redistributions of source code must retain the above copyright

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

24 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, LIFE OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * $Id: rp.c,v 1.25 1999/05/06 18:44:04 peter Exp $
33 */
34
35/*
36 * rp.c - for RocketPort FreeBSD
37 */
38
39#include "opt_compat.h"
40

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

796static d_close_t rpclose;
797static d_read_t rpread;
798static d_write_t rpwrite;
799static d_ioctl_t rpioctl;
800static d_stop_t rpstop;
801static d_devtotty_t rpdevtotty;
802
803#define CDEV_MAJOR 81
804static struct cdevsw rp_cdevsw = {
805 rpopen, rpclose, rpread, rpwrite,
806 rpioctl, rpstop, noreset, rpdevtotty,
807 ttpoll, nommap, NULL, driver_name,
808 NULL, -1, nodump, nopsize,
809 D_TTY,
810};
811
812static int rp_controller_port = 0;
813static int rp_num_ports_open = 0;
814static int ndevs = 0;
815static int minor_to_unit[128];
816#if 0
817static struct tty rp_tty[128];

--- 1225 unchanged lines hidden ---