patch-2.1.27 linux/drivers/isdn/teles/llglue.c
Next file: linux/drivers/isdn/teles/mod.c
Previous file: linux/drivers/isdn/teles/l3_1TR6.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Tue Feb 25 17:12:50 1997
- Orig file:
v2.1.26/linux/drivers/isdn/teles/llglue.c
- Orig date:
Mon Oct 28 10:57:46 1996
diff -u --recursive --new-file v2.1.26/linux/drivers/isdn/teles/llglue.c linux/drivers/isdn/teles/llglue.c
@@ -1,6 +1,9 @@
-/* $Id: llglue.c,v 1.6 1996/06/03 20:03:39 fritz Exp $
+/* $Id: llglue.c,v 1.7 1996/10/22 23:14:17 fritz Exp $
*
* $Log: llglue.c,v $
+ * Revision 1.7 1996/10/22 23:14:17 fritz
+ * Changes for compatibility to 2.0.X and 2.1.X kernels.
+ *
* Revision 1.6 1996/06/03 20:03:39 fritz
* Fixed typos.
*
@@ -46,10 +49,9 @@
byte *p;
for (p = buf, count = 0; count < len; p++, count++) {
- if (user) {
- put_user(*teles_status_read, p);
- teles_status_read++;
- } else
+ if (user)
+ put_user(*teles_status_read++, p);
+ else
*p++ = *teles_status_read++;
if (teles_status_read > teles_status_end)
teles_status_read = teles_status_buf;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov