patch-2.0.36 linux/drivers/isdn/hisax/hscx.h
Next file: linux/drivers/isdn/hisax/hscx_irq.c
Previous file: linux/drivers/isdn/hisax/hscx.c
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
Sun Nov 15 10:32:58 1998
- Orig file:
v2.0.35/linux/drivers/isdn/hisax/hscx.h
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.0.35/linux/drivers/isdn/hisax/hscx.h linux/drivers/isdn/hisax/hscx.h
@@ -0,0 +1,53 @@
+/* $Id: hscx.h,v 1.3.2.2 1998/04/08 21:57:30 keil Exp $
+
+ * hscx.h HSCX specific defines
+ *
+ * Author Karsten Keil (keil@temic-ech.spacenet.de)
+ *
+ *
+ * $Log: hscx.h,v $
+ * Revision 1.3.2.2 1998/04/08 21:57:30 keil
+ * New init code to fix problems during init if S0 is allready activ
+ *
+ * Revision 1.3.2.1 1997/10/17 22:10:45 keil
+ * new files on 2.0
+ *
+ * Revision 1.3 1997/07/27 21:38:35 keil
+ * new B-channel interface
+ *
+ * Revision 1.2 1997/06/26 11:16:18 keil
+ * first version
+ *
+ *
+ */
+
+/* All Registers original Siemens Spec */
+
+#define HSCX_ISTA 0x20
+#define HSCX_CCR1 0x2f
+#define HSCX_CCR2 0x2c
+#define HSCX_TSAR 0x31
+#define HSCX_TSAX 0x30
+#define HSCX_XCCR 0x32
+#define HSCX_RCCR 0x33
+#define HSCX_MODE 0x22
+#define HSCX_CMDR 0x21
+#define HSCX_EXIR 0x24
+#define HSCX_XAD1 0x24
+#define HSCX_XAD2 0x25
+#define HSCX_RAH2 0x27
+#define HSCX_RSTA 0x27
+#define HSCX_TIMR 0x23
+#define HSCX_STAR 0x21
+#define HSCX_RBCL 0x25
+#define HSCX_XBCH 0x2d
+#define HSCX_VSTR 0x2e
+#define HSCX_RLCR 0x2e
+#define HSCX_MASK 0x20
+
+extern int HscxVersion(struct IsdnCardState *cs, char *s);
+extern void hscx_sched_event(struct BCState *bcs, int event);
+extern void modehscx(struct BCState *bcs, int mode, int bc);
+extern void clear_pending_hscx_ints(struct IsdnCardState *cs);
+extern void inithscx(struct IsdnCardState *cs);
+extern void inithscxisac(struct IsdnCardState *cs, int part);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov