si.c (132771) | si.c (135367) |
---|---|
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 --- 19 unchanged lines hidden (view full) --- 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 */ 34 35#include <sys/cdefs.h> | 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 --- 19 unchanged lines hidden (view full) --- 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 */ 34 35#include <sys/cdefs.h> |
36__FBSDID("$FreeBSD: head/sys/dev/si/si.c 132771 2004-07-28 06:21:53Z kan $"); | 36__FBSDID("$FreeBSD: head/sys/dev/si/si.c 135367 2004-09-17 07:28:07Z phk $"); |
37 38#ifndef lint 39static const char si_copyright1[] = "@(#) Copyright (C) Specialix International, 1990,1992,1998", 40 si_copyright2[] = "@(#) Copyright (C) Andy Rutter 1993", 41 si_copyright3[] = "@(#) Copyright (C) Peter Wemm 2000"; 42#endif /* not lint */ 43 44#include "opt_compat.h" --- 503 unchanged lines hidden (view full) --- 548 else if (uart_type != ccbp->type) 549 printf("si%d: Warning: module %d mismatch! (%d%s != %d%s)\n", 550 unit, nmodule, 551 ccbp->type, si_modulename(sc->sc_type, ccbp->type), 552 uart_type, si_modulename(sc->sc_type, uart_type)); 553 554 for (x = 0; x < nport; x++, pp++, ccbp++) { 555 pp->sp_ccb = ccbp; /* save the address */ | 37 38#ifndef lint 39static const char si_copyright1[] = "@(#) Copyright (C) Specialix International, 1990,1992,1998", 40 si_copyright2[] = "@(#) Copyright (C) Andy Rutter 1993", 41 si_copyright3[] = "@(#) Copyright (C) Peter Wemm 2000"; 42#endif /* not lint */ 43 44#include "opt_compat.h" --- 503 unchanged lines hidden (view full) --- 548 else if (uart_type != ccbp->type) 549 printf("si%d: Warning: module %d mismatch! (%d%s != %d%s)\n", 550 unit, nmodule, 551 ccbp->type, si_modulename(sc->sc_type, ccbp->type), 552 uart_type, si_modulename(sc->sc_type, uart_type)); 553 554 for (x = 0; x < nport; x++, pp++, ccbp++) { 555 pp->sp_ccb = ccbp; /* save the address */ |
556 pp->sp_tty = ttymalloc(NULL); | 556 pp->sp_tty = ttyalloc(); |
557 pp->sp_pend = IDLE_CLOSE; 558 pp->sp_state = 0; /* internal flag */ 559 pp->sp_iin.c_iflag = TTYDEF_IFLAG; 560 pp->sp_iin.c_oflag = TTYDEF_OFLAG; 561 pp->sp_iin.c_cflag = TTYDEF_CFLAG; 562 pp->sp_iin.c_lflag = TTYDEF_LFLAG; 563 termioschars(&pp->sp_iin); 564 pp->sp_iin.c_ispeed = pp->sp_iin.c_ospeed = --- 1567 unchanged lines hidden --- | 557 pp->sp_pend = IDLE_CLOSE; 558 pp->sp_state = 0; /* internal flag */ 559 pp->sp_iin.c_iflag = TTYDEF_IFLAG; 560 pp->sp_iin.c_oflag = TTYDEF_OFLAG; 561 pp->sp_iin.c_cflag = TTYDEF_CFLAG; 562 pp->sp_iin.c_lflag = TTYDEF_LFLAG; 563 termioschars(&pp->sp_iin); 564 pp->sp_iin.c_ispeed = pp->sp_iin.c_ospeed = --- 1567 unchanged lines hidden --- |