si.c (12724) | si.c (12731) |
---|---|
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.24 1995/12/08 23:20:41 phk Exp $ | 33 * $Id: si.c,v 1.25 1995/12/10 13:39:12 phk Exp $ |
34 */ 35 36#ifndef lint 37static 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 --- 72 unchanged lines hidden (view full) --- 114 115 116static d_open_t siopen; 117static d_close_t siclose; 118static d_read_t siread; 119static d_write_t siwrite; 120static d_ioctl_t siioctl; 121static d_stop_t sistop; | 34 */ 35 36#ifndef lint 37static 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 --- 72 unchanged lines hidden (view full) --- 114 115 116static d_open_t siopen; 117static d_close_t siclose; 118static d_read_t siread; 119static d_write_t siwrite; 120static d_ioctl_t siioctl; 121static d_stop_t sistop; |
122static d_ttycv_t sidevtotty; | 122static d_devtotty_t sidevtotty; |
123 124#define CDEV_MAJOR 68 125static struct cdevsw si_cdevsw = 126 { siopen, siclose, siread, siwrite, /*68*/ 127 siioctl, sistop, nxreset, sidevtotty,/* si */ 128 ttselect, nxmmap, NULL, "si", NULL, -1 }; 129 130 --- 2247 unchanged lines hidden --- | 123 124#define CDEV_MAJOR 68 125static struct cdevsw si_cdevsw = 126 { siopen, siclose, siread, siwrite, /*68*/ 127 siioctl, sistop, nxreset, sidevtotty,/* si */ 128 ttselect, nxmmap, NULL, "si", NULL, -1 }; 129 130 --- 2247 unchanged lines hidden --- |