patch-2.2.13 linux/drivers/isdn/icn/icn.c
Next file: linux/drivers/isdn/icn/icn.h
Previous file: linux/drivers/isdn/hisax/w6692.h
Back to the patch index
Back to the overall index
- Lines: 84
- Date:
Tue Oct 19 17:14:01 1999
- Orig file:
v2.2.12/linux/drivers/isdn/icn/icn.c
- Orig date:
Mon Aug 9 16:05:56 1999
diff -u --recursive --new-file v2.2.12/linux/drivers/isdn/icn/icn.c linux/drivers/isdn/icn/icn.c
@@ -1,8 +1,8 @@
-/* $Id: icn.c,v 1.57 1999/07/06 16:15:30 detabc Exp $
+/* $Id: icn.c,v 1.62 1999/09/06 07:29:35 fritz Exp $
* ISDN low-level module for the ICN active ISDN-Card.
*
- * Copyright 1994,95,96 by Fritz Elfert (fritz@wuemaus.franken.de)
+ * Copyright 1994,95,96 by Fritz Elfert (fritz@isdn4linux.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
@@ -19,6 +19,21 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log: icn.c,v $
+ * Revision 1.62 1999/09/06 07:29:35 fritz
+ * Changed my mail-address.
+ *
+ * Revision 1.61 1999/09/03 14:06:58 fritz
+ * Fixed a memory leak.
+ *
+ * Revision 1.60 1999/08/31 11:20:32 paul
+ * various spelling corrections (new checksums may be needed, Karsten!)
+ *
+ * Revision 1.59 1999/08/28 22:10:55 keil
+ * __setup function should be static
+ *
+ * Revision 1.58 1999/08/25 16:44:17 keil
+ * Support for new __setup function
+ *
* Revision 1.57 1999/07/06 16:15:30 detabc
* remove unused messages
*
@@ -232,7 +247,7 @@
#undef MAP_DEBUG
static char
-*revision = "$Revision: 1.57 $";
+*revision = "$Revision: 1.62 $";
static int icn_addcard(int, char *, char *);
@@ -461,7 +476,7 @@
if (!eflag) {
if ((cnt = card->rcvidx[channel])) {
if (!(skb = dev_alloc_skb(cnt))) {
- printk(KERN_WARNING "ïcn: receive out of memory\n");
+ printk(KERN_WARNING "icn: receive out of memory\n");
break;
}
memcpy(skb_put(skb, cnt), card->rcvbuf[channel], cnt);
@@ -539,12 +554,10 @@
if (!skb->len) {
save_flags(flags);
cli();
- if (card->xskb[channel]) {
+ if (card->xskb[channel])
card->xskb[channel] = NULL;
- restore_flags(flags);
- dev_kfree_skb(skb);
- } else
- restore_flags(flags);
+ restore_flags(flags);
+ dev_kfree_skb(skb);
if (card->xlen[channel]) {
cmd.command = ISDN_STAT_BSENT;
cmd.driver = card->myid;
@@ -1852,7 +1865,6 @@
char *p;
static char sid[20];
static char sid2[20];
-
if (ints[0])
portbase = ints[1];
if (ints[0] > 1)
@@ -1867,7 +1879,7 @@
}
}
}
-#endif
+#endif /* MODULES */
int
icn_init(void)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)