[PATCH] fix semaphore handling in __unregister_chrdev_region
[linux/fpc-iii.git] / drivers / isdn / hisax / arcofi.h
blob00c44d3ce97279b3ec3eecce228f7f9e2ad9fc4c
1 /* $Id: arcofi.h,v 1.6.6.2 2001/09/23 22:24:46 kai Exp $
3 * Ansteuerung ARCOFI 2165
5 * Author Karsten Keil
6 * Copyright by Karsten Keil <keil@isdn4linux.de>
8 * This software may be used and distributed according to the terms
9 * of the GNU General Public License, incorporated herein by reference.
13 #define ARCOFI_USE 1
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
25 extern int arcofi_fsm(struct IsdnCardState *cs, int event, void *data);
26 extern void init_arcofi(struct IsdnCardState *cs);
27 extern void clear_arcofi(struct IsdnCardState *cs);