aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/hscx.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/isdn/hisax/hscx.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'drivers/isdn/hisax/hscx.h')
-rw-r--r--drivers/isdn/hisax/hscx.h41
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
37extern int HscxVersion(struct IsdnCardState *cs, char *s);
38extern void modehscx(struct BCState *bcs, int mode, int bc);
39extern void clear_pending_hscx_ints(struct IsdnCardState *cs);
40extern void inithscx(struct IsdnCardState *cs);
41extern void inithscxisac(struct IsdnCardState *cs, int part);