si.c (56505) | si.c (56592) |
---|---|
1/* 2 * Device driver for Specialix range (SI/XIO) of serial line multiplexors. 3 * 4 * Copyright (C) 1990, 1992, 1998 Specialix International, 5 * Copyright (C) 1993, Andy Rutter <andy@acronym.co.uk> 6 * Copyright (C) 2000, Peter Wemm <peter@netplex.com.au> 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, 1998 Specialix International, 5 * Copyright (C) 1993, Andy Rutter <andy@acronym.co.uk> 6 * Copyright (C) 2000, Peter Wemm <peter@netplex.com.au> 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 * $FreeBSD: head/sys/dev/si/si.c 56505 2000-01-24 07:24:02Z peter $ | 33 * $FreeBSD: head/sys/dev/si/si.c 56592 2000-01-25 16:45:54Z peter $ |
34 */ 35 36#ifndef lint 37static const char si_copyright1[] = "@(#) Copyright (C) Specialix International, 1990,1992,1998", 38 si_copyright2[] = "@(#) Copyright (C) Andy Rutter 1993", 39 si_copyright3[] = "@(#) Copyright (C) Peter Wemm 2000"; 40#endif /* not lint */ 41 --- 1322 unchanged lines hidden (view full) --- 1364 val &= 0x1F; 1365 } 1366 if (iflag & ISTRIP) 1367 val &= 0x7F; 1368 1369 ccbp->hi_mask = val; 1370 1371 /* ========== set hi_prtcl ========== */ | 34 */ 35 36#ifndef lint 37static const char si_copyright1[] = "@(#) Copyright (C) Specialix International, 1990,1992,1998", 38 si_copyright2[] = "@(#) Copyright (C) Andy Rutter 1993", 39 si_copyright3[] = "@(#) Copyright (C) Peter Wemm 2000"; 40#endif /* not lint */ 41 --- 1322 unchanged lines hidden (view full) --- 1364 val &= 0x1F; 1365 } 1366 if (iflag & ISTRIP) 1367 val &= 0x7F; 1368 1369 ccbp->hi_mask = val; 1370 1371 /* ========== set hi_prtcl ========== */ |
1372 val = 0; 1373 /* Monitor DCD etc. if a modem */ 1374 if (!(cflag & CLOCAL)) 1375 val |= SP_DCEN; | 1372 val = SP_DCEN; /* Monitor DCD always, or TIOCMGET misses it */ |
1376 if (iflag & IXANY) 1377 val |= SP_TANY; 1378 if (iflag & IXON) 1379 val |= SP_TXEN; 1380 if (iflag & IXOFF) 1381 val |= SP_RXEN; 1382 if (iflag & INPCK) 1383 val |= SP_PAEN; --- 826 unchanged lines hidden --- | 1373 if (iflag & IXANY) 1374 val |= SP_TANY; 1375 if (iflag & IXON) 1376 val |= SP_TXEN; 1377 if (iflag & IXOFF) 1378 val |= SP_RXEN; 1379 if (iflag & INPCK) 1380 val |= SP_PAEN; --- 826 unchanged lines hidden --- |