Deleted Added
full compact
cy.c (38445) cy.c (38485)
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.69 1998/08/19 04:17:38 bde Exp $
30 * $Id: cy.c,v 1.70 1998/08/20 05:21:50 bde Exp $
31 */
32
33#include "opt_compat.h"
34#include "opt_devfs.h"
35
36#include "cy.h"
37
38/*

--- 334 unchanged lines hidden (view full) ---

373static d_open_t sioopen;
374static d_close_t sioclose;
375static d_read_t sioread;
376static d_write_t siowrite;
377static d_ioctl_t sioioctl;
378static d_stop_t siostop;
379static d_devtotty_t siodevtotty;
380
31 */
32
33#include "opt_compat.h"
34#include "opt_devfs.h"
35
36#include "cy.h"
37
38/*

--- 334 unchanged lines hidden (view full) ---

373static d_open_t sioopen;
374static d_close_t sioclose;
375static d_read_t sioread;
376static d_write_t siowrite;
377static d_ioctl_t sioioctl;
378static d_stop_t siostop;
379static d_devtotty_t siodevtotty;
380
381#define CDEV_MAJOR 48
382static struct cdevsw sio_cdevsw = {
381#define CDEV_MAJOR 48
382static struct cdevsw sio_cdevsw = {
383 sioopen, sioclose, sioread, siowrite,
384 sioioctl, siostop, noreset, siodevtotty,
385 ttpoll, nommap, NULL, driver_name,
383 sioopen, sioclose, sioread, siowrite,
384 sioioctl, siostop, noreset, siodevtotty,
385 ttpoll, nommap, NULL, driver_name,
386 NULL, -1,
386 NULL, -1, nodump, nopsize,
387 D_TTY,
387};
388
389static int comconsole = -1;
390static speed_t comdefaultrate = TTYDEF_SPEED;
391static u_int com_events; /* input chars + weighted output completions */
392static bool_t sio_registered;
393static int sio_timeout;
394static int sio_timeouts_until_log;

--- 2221 unchanged lines hidden ---
388};
389
390static int comconsole = -1;
391static speed_t comdefaultrate = TTYDEF_SPEED;
392static u_int com_events; /* input chars + weighted output completions */
393static bool_t sio_registered;
394static int sio_timeout;
395static int sio_timeouts_until_log;

--- 2221 unchanged lines hidden ---