PageRenderTime 27ms CodeModel.GetById 20ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/drivers/isdn/hisax/arcofi.h

http://github.com/mirrors/linux
C++ Header | 27 lines | 11 code | 3 blank | 13 comment | 0 complexity | e4d7c629af0f3a0bb3dddc51f53b0c57 MD5 | raw file
 1/* $Id: arcofi.h,v 1.6.6.2 2001/09/23 22:24:46 kai Exp $
 2 *
 3 * Ansteuerung ARCOFI 2165
 4 *
 5 * Author       Karsten Keil
 6 * Copyright    by Karsten Keil      <keil@isdn4linux.de>
 7 *
 8 * This software may be used and distributed according to the terms
 9 * of the GNU General Public License, incorporated herein by reference.
10 *
11 */
12
13#define ARCOFI_USE	1
14
15/* states */
16#define ARCOFI_NOP	0
17#define ARCOFI_TRANSMIT	1
18#define ARCOFI_RECEIVE	2
19/* events */
20#define ARCOFI_START	1
21#define ARCOFI_TX_END	2
22#define ARCOFI_RX_END	3
23#define ARCOFI_TIMEOUT	4
24
25extern int arcofi_fsm(struct IsdnCardState *cs, int event, void *data);
26extern void init_arcofi(struct IsdnCardState *cs);
27extern void clear_arcofi(struct IsdnCardState *cs);