Deleted Added
full compact
if_cx.c (243857) if_cx.c (246128)
1/*-
2 * Cronyx-Sigma adapter driver for FreeBSD.
3 * Supports PPP/HDLC and Cisco/HDLC protocol in synchronous mode,
4 * and asyncronous channels with full modem control.
5 * Keepalive protocol implemented in both Cisco and PPP modes.
6 *
7 * Copyright (C) 1994-2002 Cronyx Engineering.
8 * Author: Serge Vakulenko, <vak@cronyx.ru>

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

18 * modify and redistribute this software in source and binary forms,
19 * as long as this message is kept with the software, all derivative
20 * works or modified versions.
21 *
22 * Cronyx Id: if_cx.c,v 1.1.2.34 2004/06/23 17:09:13 rik Exp $
23 */
24
25#include <sys/cdefs.h>
1/*-
2 * Cronyx-Sigma adapter driver for FreeBSD.
3 * Supports PPP/HDLC and Cisco/HDLC protocol in synchronous mode,
4 * and asyncronous channels with full modem control.
5 * Keepalive protocol implemented in both Cisco and PPP modes.
6 *
7 * Copyright (C) 1994-2002 Cronyx Engineering.
8 * Author: Serge Vakulenko, <vak@cronyx.ru>

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

18 * modify and redistribute this software in source and binary forms,
19 * as long as this message is kept with the software, all derivative
20 * works or modified versions.
21 *
22 * Cronyx Id: if_cx.c,v 1.1.2.34 2004/06/23 17:09:13 rik Exp $
23 */
24
25#include <sys/cdefs.h>
26__FBSDID("$FreeBSD: head/sys/dev/cx/if_cx.c 243857 2012-12-04 09:32:43Z glebius $");
26__FBSDID("$FreeBSD: head/sys/dev/cx/if_cx.c 246128 2013-01-30 18:01:20Z sbz $");
27
28#include <sys/param.h>
29
30#include <sys/systm.h>
31#include <sys/kernel.h>
32#include <sys/module.h>
33#include <sys/priv.h>
34#include <sys/proc.h>

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

108static t_modem_t cx_tmodem;
109static t_close_t cx_tclose;
110
111static device_method_t cx_isa_methods [] = {
112 DEVMETHOD(device_identify, cx_identify),
113 DEVMETHOD(device_probe, cx_probe),
114 DEVMETHOD(device_attach, cx_attach),
115 DEVMETHOD(device_detach, cx_detach),
27
28#include <sys/param.h>
29
30#include <sys/systm.h>
31#include <sys/kernel.h>
32#include <sys/module.h>
33#include <sys/priv.h>
34#include <sys/proc.h>

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

108static t_modem_t cx_tmodem;
109static t_close_t cx_tclose;
110
111static device_method_t cx_isa_methods [] = {
112 DEVMETHOD(device_identify, cx_identify),
113 DEVMETHOD(device_probe, cx_probe),
114 DEVMETHOD(device_attach, cx_attach),
115 DEVMETHOD(device_detach, cx_detach),
116 {0, 0}
116
117 DEVMETHOD_END
117};
118
119typedef struct _cx_dma_mem_t {
120 unsigned long phys;
121 void *virt;
122 size_t size;
123 bus_dma_tag_t dmat;
124 bus_dmamap_t mapp;

--- 2437 unchanged lines hidden ---
118};
119
120typedef struct _cx_dma_mem_t {
121 unsigned long phys;
122 void *virt;
123 size_t size;
124 bus_dma_tag_t dmat;
125 bus_dmamap_t mapp;

--- 2437 unchanged lines hidden ---