patch-2.2.19 linux/drivers/isdn/hisax/teles3.c

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

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/drivers/isdn/hisax/teles3.c linux/drivers/isdn/hisax/teles3.c
@@ -1,5 +1,5 @@
-/* $Id: teles3.c,v 2.15 2000/02/03 16:40:10 keil Exp $
-
+/* $Id: teles3.c,v 2.17 2000/11/24 17:05:38 kai Exp $
+ *
  * teles3.c     low level stuff for Teles 16.3 & PNP isdn cards
  *
  *              based on the teles driver from Jan den Ouden
@@ -10,91 +10,18 @@
  *              Fritz Elfert
  *              Beat Doebeli
  *
- * $Log: teles3.c,v $
- * Revision 2.15  2000/02/03 16:40:10  keil
- * Fix teles pcmcia
- *
- * Revision 2.14  1999/12/23 15:09:32  keil
- * change email
- *
- * Revision 2.13  1999/08/30 12:01:28  keil
- * HW version v1.3 support
- *
- * Revision 2.12  1999/07/12 21:05:32  keil
- * fix race in IRQ handling
- * added watchdog for lost IRQs
- *
- * Revision 2.11  1999/07/01 08:12:14  keil
- * Common HiSax version for 2.0, 2.1, 2.2 and 2.3 kernel
- *
- * Revision 2.10  1999/02/15 14:37:15  cpetig
- * oops, missed something in last commit
- *
- * Revision 2.9  1999/02/15 14:11:02  cpetig
- * fixed a bug with Teles PCMCIA, it doesn't have a config register
- *
- * Revision 2.8  1998/04/15 16:44:30  keil
- * new init code
- *
- * Revision 2.7  1998/02/02 13:29:48  keil
- * fast io
- *
- * Revision 2.6  1997/11/13 16:22:44  keil
- * COMPAQ_ISA reset
- *
- * Revision 2.5  1997/11/12 15:01:25  keil
- * COMPAQ_ISA changes
- *
- * Revision 2.4  1997/11/08 21:35:56  keil
- * new l1 init
- *
- * Revision 2.3  1997/11/06 17:09:33  keil
- * New 2.1 init code
- *
- * Revision 2.2  1997/10/29 18:55:59  keil
- * changes for 2.1.60 (irq2dev_map)
- *
- * Revision 2.1  1997/07/27 21:47:12  keil
- * new interface structures
- *
- * Revision 2.0  1997/06/26 11:02:46  keil
- * New Layer and card interface
- *
- * Revision 1.11  1997/04/13 19:54:05  keil
- * Change in IRQ check delay for SMP
- *
- * Revision 1.10  1997/04/06 22:54:05  keil
- * Using SKB's
- *
- * Revision 1.9  1997/03/22 02:01:07  fritz
- * -Reworked toplevel Makefile. From now on, no different Makefiles
- *  for standalone- and in-kernel-compilation are needed any more.
- * -Added local Rules.make for above reason.
- * -Experimental changes in teles3.c for enhanced IRQ-checking with
- *  2.1.X and SMP kernels.
- * -Removed diffstd-script, same functionality is in stddiff -r.
- * -Enhanced scripts std2kern and stddiff.
- *
- * Revision 1.8  1997/02/23 18:43:55  fritz
- * Added support for Teles-Vision.
- *
- * Revision 1.7  1997/01/28 22:48:33  keil
- * fixes for Teles PCMCIA (Christof Petig)
- *
- * Revision 1.6  1997/01/27 15:52:55  keil
- * SMP proof,cosmetics, PCMCIA added
- *
- * removed old log info /KKe
+ * This file is (c) under GNU PUBLIC LICENSE
  *
  */
 #define __NO_VERSION__
+#include <linux/init.h>
 #include "hisax.h"
 #include "isac.h"
 #include "hscx.h"
 #include "isdnl1.h"
 
 extern const char *CardType[];
-const char *teles3_revision = "$Revision: 2.15 $";
+const char *teles3_revision = "$Revision: 2.17 $";
 
 #define byteout(addr,val) outb(val,addr)
 #define bytein(addr) inb(addr)
@@ -327,8 +254,8 @@
 	return(0);
 }
 
-__initfunc(int
-setup_teles3(struct IsdnCard *card))
+int 
+setup_teles3(struct IsdnCard *card)
 {
 	u_char val;
 	struct IsdnCardState *cs = card->cs;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)