patch-2.4.15 linux/drivers/isdn/tpam/tpam_hdlc.c

Next file: linux/drivers/md/Makefile
Previous file: linux/drivers/isdn/tpam/tpam_commands.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.14/linux/drivers/isdn/tpam/tpam_hdlc.c linux/drivers/isdn/tpam/tpam_hdlc.c
@@ -1,4 +1,4 @@
-/* $Id: tpam_hdlc.c,v 1.1.2.2 2001/09/23 22:25:03 kai Exp $
+/* $Id: tpam_hdlc.c,v 1.1.2.3 2001/11/06 20:58:30 kai Exp $
  *
  * Turbo PAM ISDN driver for Linux. (Kernel Driver - HDLC encoding)
  *
@@ -35,11 +35,11 @@
     destuff5 : array necessary for the bit destuffing algorithm
     destuffs[] : array conaining the previous 6 arrays
 
-    hdlc_encode : bit stuffing of a byte array, with the addition of a start and
-    		  end flag, using the bit shift given in parameter (which is 
-		  updated at the end of encoding).
-    hdlc_decode : bit de-stuffing of a byte array with detection of possible
-    		  ABORTs.
+    tpam_hdlc_encode : bit stuffing of a byte array, with the addition 
+                  of a start and end flag, using the bit shift given in 
+		  parameter (which is updated at the end of encoding).
+    tpam_hdlc_decode : bit de-stuffing of a byte array with detection of 
+                  possible ABORTs.
 
 Revision History:
 
@@ -553,7 +553,7 @@
 
 /*- AuverTech Telecom -------------------------------------------------------+
  |                                                                           |
- | @Function  : hdlc_encode                                                  |
+ | @Function  : tpam_hdlc_encode                                             |
  | @Author    : Cyrille Boudon                                               |
  |                                                                           |
  +---------------------------------------------------------------------------+
@@ -576,8 +576,8 @@
  | beginning (for the first frame), the shift must be initialized to 0.      |
  |                                                                           |
  +---------------------------------------------------------------------------*/
-DWORD hdlc_encode(BYTE *pbyBuffIn, BYTE *pbyBuffOut,
-		  DWORD *pdwInitialShift, DWORD dwLength)
+DWORD tpam_hdlc_encode(BYTE *pbyBuffIn, BYTE *pbyBuffOut,
+		       DWORD *pdwInitialShift, DWORD dwLength)
 {
 	DWORD	dwShifter;     // temporary variable
 	DWORD	dwShiftNb;     // shift due to the insertion of '0'
@@ -754,7 +754,7 @@
 
 /*- AuverTech Telecom -------------------------------------------------------+
  |                                                                           |
- | @Function  : hdlc_decode                                                  |
+ | @Function  : tpam_hdlc_decode                                             |
  | @Author    : Cyrille Boudon                                               |
  |                                                                           |
  +---------------------------------------------------------------------------+
@@ -773,7 +773,7 @@
  | If an abort is encountered, the returned count is '0'.                    |
  |                                                                           |
  +---------------------------------------------------------------------------*/
-DWORD hdlc_decode(BYTE * pbyBuffIn, BYTE * pbyBuffOut, DWORD dwLength)
+DWORD tpam_hdlc_decode(BYTE * pbyBuffIn, BYTE * pbyBuffOut, DWORD dwLength)
 {
 	BYTE	byCharIn;    // byte being decoded
 	BYTE	byCarry;     // current carry

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