ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / drivers / isdn / hardware / eicon / capifunc.h
1 /* $Id: capifunc.h,v 1.11 2004/03/20 17:19:58 armin Exp $
2  *
3  * ISDN interface module for Eicon active cards DIVA.
4  * CAPI Interface common functions
5  * 
6  * Copyright 2000-2003 by Armin Schindler (mac@melware.de) 
7  * Copyright 2000-2003 Cytronics & Melware (info@melware.de)
8  *
9  * This software may be used and distributed according to the terms
10  * of the GNU General Public License, incorporated herein by reference.
11  */
12
13 #ifndef __CAPIFUNC_H__
14 #define __CAPIFUNC_H__
15
16 #define MAX_DESCRIPTORS  32
17
18 #define DRRELMAJOR  2
19 #define DRRELMINOR  0
20 #define DRRELEXTRA  ""
21
22 #define M_COMPANY "Eicon Networks"
23
24 extern char DRIVERRELEASE_CAPI[];
25
26 typedef struct _diva_card {
27         struct list_head list;
28         int remove_in_progress;
29         int Id;
30         struct capi_ctr capi_ctrl;
31         DIVA_CAPI_ADAPTER *adapter;
32         DESCRIPTOR d;
33         char name[32];
34 } diva_card;
35
36 /*
37  * prototypes
38  */
39 int init_capifunc(void);
40 void finit_capifunc(void);
41
42 #endif /* __CAPIFUNC_H__ */