patch-1.3.69 linux/drivers/isdn/teles/config.c

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

diff -u --recursive --new-file v1.3.68/linux/drivers/isdn/teles/config.c linux/drivers/isdn/teles/config.c
@@ -0,0 +1,40 @@
+#define __NO_VERSION__
+#include <linux/types.h>
+#include <linux/stddef.h>
+#include <linux/timer.h>
+#include "teles.h"
+
+/*
+ * This structure array contains one entry per card. An entry looks
+ * like this:
+ * 
+ * { membase,irq,portbase,protocol,NULL }
+ *
+ * protocol can be either ISDN_PTYPE_EURO or ISDN_PTYPE_1TR6
+ *
+ * Cards which don't have an io port (Teles 8 bit cards for
+ * example) can be entered with io port 0x0
+ *
+ * For the Teles 16.3, membase has to be set to 0.
+ *
+ */
+
+struct IsdnCard cards[] =
+{
+	{(byte *) 0xd0000, 15, 0xd80, ISDN_PTYPE_EURO, NULL},	/* example */
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+	{NULL, 0, 0, 0, NULL},
+};

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this