patch-2.0.31 linux/drivers/isdn/isdn_cards.c

Next file: linux/drivers/isdn/isdn_cards.h
Previous file: linux/drivers/isdn/isdn_audio.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.30/linux/drivers/isdn/isdn_cards.c linux/drivers/isdn/isdn_cards.c
@@ -1,9 +1,9 @@
-/* $Id: isdn_cards.c,v 1.2 1996/10/13 19:52:17 keil Exp $
- *
+/* $Id: isdn_cards.c,v 1.6 1997/04/23 18:56:03 fritz Exp $
+
  * Linux ISDN subsystem, initialization for non-modularized drivers.
  *
  * Copyright 1994,95,96 by Fritz Elfert (fritz@wuemaus.franken.de)
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2, or (at your option)
@@ -16,9 +16,21 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
  * $Log: isdn_cards.c,v $
+ * Revision 1.6  1997/04/23 18:56:03  fritz
+ * Old Teles driver removed, Changed doc and scripts accordingly.
+ *
+ * Revision 1.5  1997/03/30 17:10:36  calle
+ * added support for AVM-B1-PCI card.
+ *
+ * Revision 1.4  1997/03/04 21:59:44  calle
+ * Added AVM-B1-CAPI2.0 driver
+ *
+ * Revision 1.3  1997/02/03 23:31:14  fritz
+ * Reformatted according CodingStyle
+ *
  * Revision 1.2  1996/10/13 19:52:17  keil
  * HiSax support
  *
@@ -33,10 +45,6 @@
 extern void icn_init(void);
 #endif
 
-#ifdef CONFIG_ISDN_DRV_TELES
-extern void teles_init(void);
-#endif
-
 #ifdef CONFIG_ISDN_DRV_HISAX
 extern void HiSax_init(void);
 #endif
@@ -45,19 +53,33 @@
 extern void pcbit_init(void);
 #endif
 
-void isdn_cards_init(void)
+#ifdef CONFIG_ISDN_DRV_AVMB1
+extern void avmb1_init(void);
+extern void capi_init(void);
+extern void capidrv_init(void);
+#ifdef CONFIG_PCI
+extern int b1pci_init(void);
+#endif
+#endif
+
+void
+isdn_cards_init(void)
 {
 #if CONFIG_ISDN_DRV_ICN
-        icn_init();
-#endif
-#if CONFIG_ISDN_DRV_TELES
-        teles_init();
+	icn_init();
 #endif
 #ifdef CONFIG_ISDN_DRV_HISAX
 	HiSax_init();
 #endif
 #if CONFIG_ISDN_DRV_PCBIT
-        pcbit_init();
+	pcbit_init();
+#endif
+#ifdef CONFIG_ISDN_DRV_AVMB1
+	avmb1_init();
+#ifdef CONFIG_PCI
+	b1pci_init();
+#endif
+	capi_init();
+	capidrv_init();
 #endif
 }
-

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