if_ct.c (243857) | if_ct.c (246128) |
---|---|
1/*- 2 * Cronyx-Tau 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> --- 8 unchanged lines hidden (view full) --- 17 * modify and redistribute this software in source and binary forms, 18 * as long as this message is kept with the software, all derivative 19 * works or modified versions. 20 * 21 * Cronyx Id: if_ct.c,v 1.1.2.31 2004/06/23 17:09:13 rik Exp $ 22 */ 23 24#include <sys/cdefs.h> | 1/*- 2 * Cronyx-Tau 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> --- 8 unchanged lines hidden (view full) --- 17 * modify and redistribute this software in source and binary forms, 18 * as long as this message is kept with the software, all derivative 19 * works or modified versions. 20 * 21 * Cronyx Id: if_ct.c,v 1.1.2.31 2004/06/23 17:09:13 rik Exp $ 22 */ 23 24#include <sys/cdefs.h> |
25__FBSDID("$FreeBSD: head/sys/dev/ctau/if_ct.c 243857 2012-12-04 09:32:43Z glebius $"); | 25__FBSDID("$FreeBSD: head/sys/dev/ctau/if_ct.c 246128 2013-01-30 18:01:20Z sbz $"); |
26 27#include <sys/param.h> 28#include <sys/proc.h> 29#include <sys/systm.h> 30#include <sys/kernel.h> 31#include <sys/module.h> 32#include <sys/mbuf.h> 33#include <sys/sockio.h> --- 54 unchanged lines hidden (view full) --- 88static int ct_attach __P((device_t)); 89static int ct_detach __P((device_t)); 90 91static device_method_t ct_isa_methods [] = { 92 DEVMETHOD(device_identify, ct_identify), 93 DEVMETHOD(device_probe, ct_probe), 94 DEVMETHOD(device_attach, ct_attach), 95 DEVMETHOD(device_detach, ct_detach), | 26 27#include <sys/param.h> 28#include <sys/proc.h> 29#include <sys/systm.h> 30#include <sys/kernel.h> 31#include <sys/module.h> 32#include <sys/mbuf.h> 33#include <sys/sockio.h> --- 54 unchanged lines hidden (view full) --- 88static int ct_attach __P((device_t)); 89static int ct_detach __P((device_t)); 90 91static device_method_t ct_isa_methods [] = { 92 DEVMETHOD(device_identify, ct_identify), 93 DEVMETHOD(device_probe, ct_probe), 94 DEVMETHOD(device_attach, ct_attach), 95 DEVMETHOD(device_detach, ct_detach), |
96 {0, 0} | 96 97 DEVMETHOD_END |
97}; 98 99typedef struct _ct_dma_mem_t { 100 unsigned long phys; 101 void *virt; 102 size_t size; 103 bus_dma_tag_t dmat; 104 bus_dmamap_t mapp; --- 2119 unchanged lines hidden --- | 98}; 99 100typedef struct _ct_dma_mem_t { 101 unsigned long phys; 102 void *virt; 103 size_t size; 104 bus_dma_tag_t dmat; 105 bus_dmamap_t mapp; --- 2119 unchanged lines hidden --- |