if_cx.c (171613) | if_cx.c (172568) |
---|---|
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 171613 2007-07-27 11:59:57Z rwatson $"); | 26__FBSDID("$FreeBSD: head/sys/dev/cx/if_cx.c 172568 2007-10-12 06:03:46Z kevlo $"); |
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> --- 318 unchanged lines hidden (view full) --- 353 s = splhigh (); 354 CX_LOCK (bd); 355 cx_led (b, 0); 356 CX_UNLOCK (bd); 357 splx (s); 358} 359 360/* | 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> --- 318 unchanged lines hidden (view full) --- 353 s = splhigh (); 354 CX_LOCK (bd); 355 cx_led (b, 0); 356 CX_UNLOCK (bd); 357 splx (s); 358} 359 360/* |
361 * Activate interupt handler from DDK. | 361 * Activate interrupt handler from DDK. |
362 */ 363static void cx_intr (void *arg) 364{ 365 bdrv_t *bd = arg; 366 cx_board_t *b = bd->board; 367#ifndef NETGRAPH 368 int i; 369#endif --- 2213 unchanged lines hidden --- | 362 */ 363static void cx_intr (void *arg) 364{ 365 bdrv_t *bd = arg; 366 cx_board_t *b = bd->board; 367#ifndef NETGRAPH 368 int i; 369#endif --- 2213 unchanged lines hidden --- |