si.c (32929) | si.c (33322) |
---|---|
1/* 2 * Device driver for Specialix range (SI/XIO) of serial line multiplexors. 3 * 4 * Copyright (C) 1990, 1992 Specialix International, 5 * Copyright (C) 1993, Andy Rutter <andy@acronym.co.uk> 6 * Copyright (C) 1995, Peter Wemm <peter@haywire.dialix.com> 7 * 8 * Originally derived from: SunOS 4.x version --- 16 unchanged lines hidden (view full) --- 25 * International may be used to endorse or promote products derived from 26 * this software without specific prior written permission. 27 * 28 * THIS SOFTWARE IS PROVIDED BY ``AS IS'' AND ANY EXPRESS OR IMPLIED 29 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 30 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 31 * NO EVENT SHALL THE AUTHORS BE LIABLE. 32 * | 1/* 2 * Device driver for Specialix range (SI/XIO) of serial line multiplexors. 3 * 4 * Copyright (C) 1990, 1992 Specialix International, 5 * Copyright (C) 1993, Andy Rutter <andy@acronym.co.uk> 6 * Copyright (C) 1995, Peter Wemm <peter@haywire.dialix.com> 7 * 8 * Originally derived from: SunOS 4.x version --- 16 unchanged lines hidden (view full) --- 25 * International may be used to endorse or promote products derived from 26 * this software without specific prior written permission. 27 * 28 * THIS SOFTWARE IS PROVIDED BY ``AS IS'' AND ANY EXPRESS OR IMPLIED 29 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 30 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 31 * NO EVENT SHALL THE AUTHORS BE LIABLE. 32 * |
33 * $Id: si.c,v 1.64 1998/01/24 02:54:24 eivind Exp $ | 33 * $Id: si.c,v 1.65 1998/01/31 07:23:09 eivind Exp $ |
34 */ 35 36#ifndef lint 37static const char si_copyright1[] = "@(#) (C) Specialix International, 1990,1992", 38 si_copyright2[] = "@(#) (C) Andy Rutter 1993", 39 si_copyright3[] = "@(#) (C) Peter Wemm 1995"; 40#endif /* not lint */ 41 --- 2252 unchanged lines hidden (view full) --- 2294 && (!(t->c_iflag & BRKINT) || (t->c_iflag & IGNBRK)) 2295 && (!(t->c_iflag & PARMRK) 2296 || (t->c_iflag & (IGNPAR | IGNBRK)) == (IGNPAR | IGNBRK)) 2297 && !(t->c_lflag & (ECHO | ICANON | IEXTEN | ISIG | PENDIN)) 2298 && linesw[tp->t_line].l_rint == ttyinput) 2299 tp->t_state |= TS_CAN_BYPASS_L_RINT; 2300 else 2301 tp->t_state &= ~TS_CAN_BYPASS_L_RINT; | 34 */ 35 36#ifndef lint 37static const char si_copyright1[] = "@(#) (C) Specialix International, 1990,1992", 38 si_copyright2[] = "@(#) (C) Andy Rutter 1993", 39 si_copyright3[] = "@(#) (C) Peter Wemm 1995"; 40#endif /* not lint */ 41 --- 2252 unchanged lines hidden (view full) --- 2294 && (!(t->c_iflag & BRKINT) || (t->c_iflag & IGNBRK)) 2295 && (!(t->c_iflag & PARMRK) 2296 || (t->c_iflag & (IGNPAR | IGNBRK)) == (IGNPAR | IGNBRK)) 2297 && !(t->c_lflag & (ECHO | ICANON | IEXTEN | ISIG | PENDIN)) 2298 && linesw[tp->t_line].l_rint == ttyinput) 2299 tp->t_state |= TS_CAN_BYPASS_L_RINT; 2300 else 2301 tp->t_state &= ~TS_CAN_BYPASS_L_RINT; |
2302 2303 /* 2304 * Prepare to reduce input latency for packet 2305 * discplines with a end of packet character. 2306 */ 2307 if (tp->t_line == SLIPDISC) 2308 pp->sp_hotchar = 0xc0; 2309 else if (tp->t_line == PPPDISC) 2310 pp->sp_hotchar = 0x7e; 2311 else 2312 pp->sp_hotchar = 0; 2313 | 2302 pp->sp_hotchar = linesw[tp->t_line].l_hotchar; |
2314 DPRINT((pp, DBG_OPTIM, "bypass: %s, hotchar: %x\n", 2315 (tp->t_state & TS_CAN_BYPASS_L_RINT) ? "on" : "off", 2316 pp->sp_hotchar)); 2317} 2318 2319 2320#ifdef SI_DEBUG 2321 --- 56 unchanged lines hidden --- | 2303 DPRINT((pp, DBG_OPTIM, "bypass: %s, hotchar: %x\n", 2304 (tp->t_state & TS_CAN_BYPASS_L_RINT) ? "on" : "off", 2305 pp->sp_hotchar)); 2306} 2307 2308 2309#ifdef SI_DEBUG 2310 --- 56 unchanged lines hidden --- |