patch-2.3.14 linux/drivers/isdn/hisax/amd7930.c

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

diff -u --recursive --new-file v2.3.13/linux/drivers/isdn/hisax/amd7930.c linux/drivers/isdn/hisax/amd7930.c
@@ -1,4 +1,4 @@
-/* $Id: amd7930.c,v 1.2 1998/02/12 23:07:10 keil Exp $
+/* $Id: amd7930.c,v 1.3 1999/07/12 21:04:52 keil Exp $
  *
  * HiSax ISDN driver - chip specific routines for AMD 7930
  *
@@ -7,6 +7,10 @@
  *
  *
  * $Log: amd7930.c,v $
+ * Revision 1.3  1999/07/12 21:04:52  keil
+ * fix race in IRQ handling
+ * added watchdog for lost IRQs
+ *
  * Revision 1.2  1998/02/12 23:07:10  keil
  * change for 2.1.86 (removing FREE_READ/FREE_WRITE from [dev]_kfree_skb()
  *
@@ -105,7 +109,7 @@
 #include "rawhdlc.h"
 #include <linux/interrupt.h>
 
-static const char *amd7930_revision = "$Revision: 1.2 $";
+static const char *amd7930_revision = "$Revision: 1.3 $";
 
 #define RCV_BUFSIZE	1024	/* Size of raw receive buffer in bytes */
 #define RCV_BUFBLKS	4	/* Number of blocks to divide buffer into
@@ -734,8 +738,6 @@
 		case CARD_RELEASE:
 			release_amd7930(cs);
 			return(0);
-		case CARD_SETIRQ:
-			return(0);
 		case CARD_INIT:
 			cs->l1cmd = amd7930_l1cmd;
 			amd7930_liu_init(0, &amd7930_liu_callback, (void *)cs);
@@ -747,8 +749,8 @@
 	return(0);
 }
 
-int __init 
-setup_amd7930(struct IsdnCard *card)
+__initfunc(int
+setup_amd7930(struct IsdnCard *card))
 {
 	struct IsdnCardState *cs = card->cs;
 	char tmp[64];

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