[thirdparty-commits] rmudgett: mISDN/trunk r21 - in /mISDN/trunk: Makefile include/linux/mISDNif.h

SVN commits to the Digium third-party software repository thirdparty-commits at lists.digium.com
Thu Sep 4 10:58:47 CDT 2008


Author: rmudgett
Date: Thu Sep  4 10:58:47 2008
New Revision: 21

URL: http://svn.digium.com/view/thirdparty?view=rev&rev=21
Log:
Fixed makefile and added some comments

Modified:
    mISDN/trunk/Makefile
    mISDN/trunk/include/linux/mISDNif.h

Modified: mISDN/trunk/Makefile
URL: http://svn.digium.com/view/thirdparty/mISDN/trunk/Makefile?view=diff&rev=21&r1=20&r2=21
==============================================================================
--- mISDN/trunk/Makefile (original)
+++ mISDN/trunk/Makefile Thu Sep  4 10:58:47 2008
@@ -77,10 +77,10 @@
 	cp mISDN.modprobe.d $(INSTALL_PREFIX)/etc/modules.d/mISDN
 
 test_old_misdn:
-	@if echo -ne "#include <linux/mISDNif.h>" | gcc -C -E - 2>/dev/null 1>/dev/null  ; then \
-		if ! echo -ne "#include <linux/mISDNif.h>\n#if MISDN_MAJOR_VERSION < 4\n#error old mISDNif.h\n#endif\n" | gcc -C -E - 2>/dev/null 1>/dev/null ; then \
-			echo -ne "\n!!You should remove the following files:\n\n$(LINUX)/include/linux/mISDNif.h\n$(LINUX)/include/linux/isdn_compat.h\n/usr/include/linux/mISDNif.h\n/usr/include/linux/isdn_compat.h\n\nIn order to upgrade to the mqueue branch\n\n"; \
-			echo -ne "I can do that for you, just type: make force\n\n" ; \
+	@if echo "#include <linux/mISDNif.h>" | gcc -C -E - 2>/dev/null 1>/dev/null  ; then \
+		if ! echo "#include <linux/mISDNif.h>\n#if MISDN_MAJOR_VERSION < 4\n#error old mISDNif.h\n#endif\n" | gcc -C -E - 2>/dev/null 1>/dev/null ; then \
+			echo "\n!!You should remove the following files:\n\n$(LINUX)/include/linux/mISDNif.h\n$(LINUX)/include/linux/isdn_compat.h\n/usr/include/linux/mISDNif.h\n/usr/include/linux/isdn_compat.h\n\nIn order to upgrade to the mqueue branch\n\n"; \
+			echo "I can do that for you, just type: make force\n\n" ; \
 			exit 1; \
 		fi ;\
 	fi

Modified: mISDN/trunk/include/linux/mISDNif.h
URL: http://svn.digium.com/view/thirdparty/mISDN/trunk/include/linux/mISDNif.h?view=diff&rev=21&r1=20&r2=21
==============================================================================
--- mISDN/trunk/include/linux/mISDNif.h (original)
+++ mISDN/trunk/include/linux/mISDNif.h Thu Sep  4 10:58:47 2008
@@ -29,14 +29,19 @@
 /* collect some statistics about the message queues */
 //#define MISDN_MSG_STATS
 
-/* primitives for information exchange
- * generell format
- * <8 bit reserved>
- * <4 bit flags>
- * <4 bit layer>
- * <8 bit command>
- * <8 bit subcommand>
+/* 
+ * Primitives for information exchange
+ * general format:
  *
+ * 3322-2222 2222-1111 1111-1100 0000-0000
+ * 1098-7654 3210-9876 5432-1098 7654-3210
+ * RRRR-RRRR FFFF-LLLL CCCC-CCCC SSSS-SSSS
+ *
+ * R (bits 31-24) Reserved
+ * F (bits 23-20) Flags
+ * L (bits 19-16) Layer
+ * C (bits 15-08) Command
+ * S (bits 07-00) Subcommand
  */
 
 #define MISDN_CMD_MASK	0xffffff00




More information about the thirdparty-commits mailing list