]> git.hungrycats.org Git - linux/commitdiff
[PATCH] CRC16 renaming in PPP driver
authorAndrey Panin <pazke@donpac.ru>
Sun, 11 Jul 2004 02:36:35 +0000 (19:36 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 11 Jul 2004 02:36:35 +0000 (19:36 -0700)
Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/ppp_async.c
include/linux/ppp_defs.h

index 1ddefbd2ee6cf8abb7b5b5f4bee34b0b0c5e7e52..8e139278de0edb33c805a0421c808ebcf1d5921a 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/tty.h>
 #include <linux/netdevice.h>
 #include <linux/poll.h>
-#include <linux/crc16.h>
+#include <linux/crc-ccitt.h>
 #include <linux/ppp_defs.h>
 #include <linux/if_ppp.h>
 #include <linux/ppp_channel.h>
index 58c71466a7265507da45e18f01f1597eb732d0c4..402056cd049d9a7c4ad4b940e58536b554243e4a 100644 (file)
@@ -42,7 +42,7 @@
 #ifndef _PPP_DEFS_H_
 #define _PPP_DEFS_H_
 
-#include <linux/crc16.h>
+#include <linux/crc-ccitt.h>
 
 /*
  * The basic PPP frame.
@@ -97,7 +97,7 @@
 
 #define PPP_INITFCS    0xffff  /* Initial FCS value */
 #define PPP_GOODFCS    0xf0b8  /* Good final FCS value */
-#define PPP_FCS(fcs, c) crc16_byte(fcs, c)
+#define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c)
 
 /*
  * Extended asyncmap - allows any character to be escaped.