Re: Linux 2.2.18pre22

From: Kai Germaschewski (kai@thphy.uni-duesseldorf.de)
Date: Mon Nov 20 2000 - 05:10:21 EST


On Sun, 19 Nov 2000, Jeff V. Merkey wrote:

> ISDN_MODEM_ANZREG undefined on 2.4.0-10(11) and 2.2.18-22, rpm.spec is
> attached.

This has been fixed 2000/03/03, see below. Just use the latest version,
ftp.isdn4linux.de/pub/isdn4linux/utils/isdn4k-utils.v3.1pre1.tar.gz

--Kai

Index: iprofd.c
===================================================================
RCS file: /i4ldev/isdn4k-utils/iprofd/iprofd.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- iprofd.c 1999/09/06 08:03:25 1.7
+++ iprofd.c 2000/03/03 12:45:53 1.8
@@ -1,4 +1,4 @@
-/* $Id: iprofd.c,v 1.7 1999/09/06 08:03:25 fritz Exp $
+/* $Id: iprofd.c,v 1.8 2000/03/03 12:45:53 calle Exp $
 
  * Daemon for saving ttyIx-profiles to a file.
  *
@@ -22,6 +22,9 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
  * $Log: iprofd.c,v $
+ * Revision 1.8 2000/03/03 12:45:53 calle
+ * Make compile with newer versions of kernel drivers.
+ *
  * Revision 1.7 1999/09/06 08:03:25 fritz
  * Changed my mail-address.
  *
@@ -67,8 +70,12 @@
 #ifndef ISDN_LMSNLEN
 #define ISDN_LMSNLEN 0
 #endif
+
+#ifndef ISDN_MODEM_NUMREG
+#define ISDN_MODEM_NUMREG ISDN_MODEM_ANZREG
+#endif
 
-#define BUFSZ ((ISDN_MODEM_ANZREG+ISDN_MSNLEN+ISDN_LMSNLEN)*ISDN_MAX_CHANNELS)
+#define BUFSZ ((ISDN_MODEM_NUMREG+ISDN_MSNLEN+ISDN_LMSNLEN)*ISDN_MAX_CHANNELS)
 
 void
 dumpModem(int dummy)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:18 EST