Deleted Added
full compact
rpvar.h (59874) rpvar.h (61541)
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 *
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 * $FreeBSD: head/sys/dev/rp/rpvar.h 59874 2000-05-01 20:32:07Z peter $
32 * $FreeBSD: head/sys/dev/rp/rpvar.h 61541 2000-06-11 06:43:16Z tanimura $
33 */
34
35/*
36 * rpvar.h --- RocketPort data structure includes for FreeBSD
37 */
38
39#define RP_UNIT(x) dv_unit(x)
40#define RP_PORT(x) (minor(x) & 0x3f)

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

72 int rp_overflows;
73 int rp_rts_iflow:1;
74 int rp_disable_writes:1;
75 int rp_cts:1;
76 int rp_waiting:1;
77 int rp_xmit_stopped:1;
78 CONTROLLER_t * rp_ctlp;
79 CHANNEL_t rp_channel;
33 */
34
35/*
36 * rpvar.h --- RocketPort data structure includes for FreeBSD
37 */
38
39#define RP_UNIT(x) dv_unit(x)
40#define RP_PORT(x) (minor(x) & 0x3f)

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

72 int rp_overflows;
73 int rp_rts_iflow:1;
74 int rp_disable_writes:1;
75 int rp_cts:1;
76 int rp_waiting:1;
77 int rp_xmit_stopped:1;
78 CONTROLLER_t * rp_ctlp;
79 CHANNEL_t rp_channel;
80 unsigned char TxBuf[TXFIFO_SIZE];
81 unsigned char RxBuf[RXFIFO_SIZE];
80};
81
82};
83
82struct termios deftermios = {
83 TTYDEF_IFLAG,
84 TTYDEF_OFLAG,
85 TTYDEF_CFLAG,
86 TTYDEF_LFLAG,
87 { CEOF, CEOL, CEOL, CERASE, CWERASE, CKILL, CREPRINT,
88 _POSIX_VDISABLE, CINTR, CQUIT, CSUSP, CDSUSP, CSTART, CSTOP, CLNEXT,
89 CDISCARD, CMIN, CTIME, CSTATUS, _POSIX_VDISABLE },
90 TTYDEF_SPEED,
91 TTYDEF_SPEED
92};
84extern struct termios deftermios;