blob: b9c77529fabfdbcfb53ae0541785bbcf2241da93 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/* $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 */
Joe Perches475be4d2012-02-19 19:52:38 -080012
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#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);