Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / isdn / hisax / hscx.h
blob268bfd3549b03d4a67872b6e059c64e857976643
1 /* $Id: hscx.h,v 1.8.2.2 2004/01/12 22:52:26 keil Exp $
3 * HSCX specific defines
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.
13 /* All Registers original Siemens Spec */
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
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);