if_ct.c (171613) | if_ct.c (172568) |
---|---|
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 171613 2007-07-27 11:59:57Z rwatson $"); | 25__FBSDID("$FreeBSD: head/sys/dev/ctau/if_ct.c 172568 2007-10-12 06:03:46Z kevlo $"); |
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> --- 233 unchanged lines hidden (view full) --- 267 268 CT_LOCK (bd); 269 ct_led (b, 0); 270 CT_UNLOCK (bd); 271 splx (s); 272} 273 274/* | 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> --- 233 unchanged lines hidden (view full) --- 267 268 CT_LOCK (bd); 269 ct_led (b, 0); 270 CT_UNLOCK (bd); 271 splx (s); 272} 273 274/* |
275 * Activate interupt handler from DDK. | 275 * Activate interrupt handler from DDK. |
276 */ 277static void ct_intr (void *arg) 278{ 279 bdrv_t *bd = arg; 280 ct_board_t *b = bd->board; 281#ifndef NETGRAPH 282 int i; 283#endif --- 1977 unchanged lines hidden --- | 276 */ 277static void ct_intr (void *arg) 278{ 279 bdrv_t *bd = arg; 280 ct_board_t *b = bd->board; 281#ifndef NETGRAPH 282 int i; 283#endif --- 1977 unchanged lines hidden --- |