patch-2.1.42 linux/drivers/isdn/hisax/elsa.h

Next file: linux/drivers/isdn/hisax/fsm.c
Previous file: linux/drivers/isdn/hisax/elsa.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.41/linux/drivers/isdn/hisax/elsa.h linux/drivers/isdn/hisax/elsa.h
@@ -1,4 +1,4 @@
-/* $Id: elsa.h,v 1.4 1997/01/21 22:21:05 keil Exp $
+/* $Id: elsa.h,v 1.6 1997/03/23 21:45:48 keil Exp $
  *
  * elsa.h   Header for Elsa ISDN cards
  *
@@ -8,6 +8,12 @@
  *
  *
  * $Log: elsa.h,v $
+ * Revision 1.6  1997/03/23 21:45:48  keil
+ * Add support for ELSA PCMCIA
+ *
+ * Revision 1.5  1997/03/04 15:58:13  keil
+ * ELSA PC changes, some stuff for new cards
+ *
  * Revision 1.4  1997/01/21 22:21:05  keil
  * Elsa Quickstep support
  *
@@ -22,20 +28,39 @@
  *
  *
 */
+#include <linux/config.h>
 
+#ifdef CONFIG_HISAX_ELSA_PCMCIA
+#define CARD_ISAC	1
+#define CARD_HSCX	2
+#define CARD_ALE	4
+#else
 #define CARD_ISAC	0
+#define CARD_ITAC	1
 #define CARD_HSCX	2
 #define CARD_ALE	3
 #define CARD_CONTROL	4
 #define CARD_CONFIG	5
 #define CARD_START_TIMER 6
 #define CARD_TRIG_IRQ	7
+#endif
 
-#define ELSA_PCC     1
-#define ELSA_PCFPRO  2
+#define ELSA_PC      1
+#define ELSA_PCC8    2
 #define ELSA_PCC16   3
 #define ELSA_PCF     4
-#define ELSA_QS1000  5
+#define ELSA_PCFPRO  5
+#define ELSA_PCMCIA  6
+#define ELSA_QS1000  7
+#define ELSA_QS3000  8
+
+/* ITAC Registeradressen (only Microlink PC) */
+#define ITAC_SYS	0x34
+#define ITAC_ISEN	0x48
+#define ITAC_RFIE	0x4A
+#define ITAC_XFIE	0x4C
+#define ITAC_SCIE	0x4E
+#define ITAC_STIE	0x46
 
 /***                                                                    ***
  ***   Makros als Befehle fuer die Kartenregister                       ***
@@ -44,8 +69,10 @@
 
 /* Config-Register (Read) */
 #define TIMER_RUN       0x02    /* Bit 1 des Config-Reg     */
-#define TIMER_RUN_PCC   0x01    /* Bit 0 des Config-Reg  bei PCC */
+#define TIMER_RUN_PCC8  0x01    /* Bit 0 des Config-Reg  bei PCC */
 #define IRQ_INDEX       0x38    /* Bit 3,4,5 des Config-Reg */
+#define IRQ_INDEX_PCC8  0x30    /* Bit 4,5 des Config-Reg */
+#define IRQ_INDEX_PC    0x0c    /* Bit 2,3 des Config-Reg */
 
 /* Control-Register (Write) */
 #define LINE_LED        0x02    /* Bit 1 Gelbe LED */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov