diff options
Diffstat (limited to 'drivers/isdn/hisax/hscx.h')
-rw-r--r-- | drivers/isdn/hisax/hscx.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/drivers/isdn/hisax/hscx.h b/drivers/isdn/hisax/hscx.h new file mode 100644 index 000000000000..268bfd3549b0 --- /dev/null +++ b/drivers/isdn/hisax/hscx.h | |||
@@ -0,0 +1,41 @@ | |||
1 | /* $Id: hscx.h,v 1.8.2.2 2004/01/12 22:52:26 keil Exp $ | ||
2 | * | ||
3 | * HSCX specific defines | ||
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 | /* All Registers original Siemens Spec */ | ||
14 | |||
15 | #define HSCX_ISTA 0x20 | ||
16 | #define HSCX_CCR1 0x2f | ||
17 | #define HSCX_CCR2 0x2c | ||
18 | #define HSCX_TSAR 0x31 | ||
19 | #define HSCX_TSAX 0x30 | ||
20 | #define HSCX_XCCR 0x32 | ||
21 | #define HSCX_RCCR 0x33 | ||
22 | #define HSCX_MODE 0x22 | ||
23 | #define HSCX_CMDR 0x21 | ||
24 | #define HSCX_EXIR 0x24 | ||
25 | #define HSCX_XAD1 0x24 | ||
26 | #define HSCX_XAD2 0x25 | ||
27 | #define HSCX_RAH2 0x27 | ||
28 | #define HSCX_RSTA 0x27 | ||
29 | #define HSCX_TIMR 0x23 | ||
30 | #define HSCX_STAR 0x21 | ||
31 | #define HSCX_RBCL 0x25 | ||
32 | #define HSCX_XBCH 0x2d | ||
33 | #define HSCX_VSTR 0x2e | ||
34 | #define HSCX_RLCR 0x2e | ||
35 | #define HSCX_MASK 0x20 | ||
36 | |||
37 | extern int HscxVersion(struct IsdnCardState *cs, char *s); | ||
38 | extern void modehscx(struct BCState *bcs, int mode, int bc); | ||
39 | extern void clear_pending_hscx_ints(struct IsdnCardState *cs); | ||
40 | extern void inithscx(struct IsdnCardState *cs); | ||
41 | extern void inithscxisac(struct IsdnCardState *cs, int part); | ||