cy.c (12678) | cy.c (12731) |
---|---|
1/*- 2 * cyclades cyclom-y serial driver 3 * Andrew Herbert <andrew@werple.apana.org.au>, 17 August 1993 4 * 5 * Copyright (c) 1993 Andrew Herbert. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 13 unchanged lines hidden (view full) --- 22 * NO EVENT SHALL I BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 23 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 24 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 25 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 26 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 27 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * | 1/*- 2 * cyclades cyclom-y serial driver 3 * Andrew Herbert <andrew@werple.apana.org.au>, 17 August 1993 4 * 5 * Copyright (c) 1993 Andrew Herbert. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 13 unchanged lines hidden (view full) --- 22 * NO EVENT SHALL I BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 23 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 24 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 25 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 26 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 27 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * |
30 * $Id: cy.c,v 1.24 1995/12/08 11:14:04 julian Exp $ | 30 * $Id: cy.c,v 1.25 1995/12/08 23:20:24 phk Exp $ |
31 */ 32 33#include "cy.h" 34#if NCY > 0 35/* 36 * TODO: 37 * Check that cy16's work. 38 * Implement BREAK. --- 324 unchanged lines hidden (view full) --- 363static struct timeval intr_timestamp; 364 365static d_open_t cyopen; 366static d_close_t cyclose; 367static d_read_t cyread; 368static d_write_t cywrite; 369static d_ioctl_t cyioctl; 370static d_stop_t cystop; | 31 */ 32 33#include "cy.h" 34#if NCY > 0 35/* 36 * TODO: 37 * Check that cy16's work. 38 * Implement BREAK. --- 324 unchanged lines hidden (view full) --- 363static struct timeval intr_timestamp; 364 365static d_open_t cyopen; 366static d_close_t cyclose; 367static d_read_t cyread; 368static d_write_t cywrite; 369static d_ioctl_t cyioctl; 370static d_stop_t cystop; |
371static d_ttycv_t cydevtotty; | 371static d_devtotty_t cydevtotty; |
372 373#define CDEV_MAJOR 48 374static struct cdevsw cy_cdevsw = 375 { cyopen, cyclose, cyread, cywrite, /*48*/ 376 cyioctl, cystop, nxreset, cydevtotty,/*cyclades*/ 377 ttselect, nxmmap, NULL, "cy", NULL, -1 }; 378 379 --- 2184 unchanged lines hidden --- | 372 373#define CDEV_MAJOR 48 374static struct cdevsw cy_cdevsw = 375 { cyopen, cyclose, cyread, cywrite, /*48*/ 376 cyioctl, cystop, nxreset, cydevtotty,/*cyclades*/ 377 ttselect, nxmmap, NULL, "cy", NULL, -1 }; 378 379 --- 2184 unchanged lines hidden --- |