Commit edd57a76 authored by Andrey Panin's avatar Andrey Panin Committed by Linus Torvalds

[PATCH] CRC16 renaming in PPP driver

Signed-off-by: default avatarAndrey Panin <pazke@donpac.ru>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 915c335e
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <linux/tty.h> #include <linux/tty.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/poll.h> #include <linux/poll.h>
#include <linux/crc16.h> #include <linux/crc-ccitt.h>
#include <linux/ppp_defs.h> #include <linux/ppp_defs.h>
#include <linux/if_ppp.h> #include <linux/if_ppp.h>
#include <linux/ppp_channel.h> #include <linux/ppp_channel.h>
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#ifndef _PPP_DEFS_H_ #ifndef _PPP_DEFS_H_
#define _PPP_DEFS_H_ #define _PPP_DEFS_H_
#include <linux/crc16.h> #include <linux/crc-ccitt.h>
/* /*
* The basic PPP frame. * The basic PPP frame.
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
#define PPP_INITFCS 0xffff /* Initial FCS value */ #define PPP_INITFCS 0xffff /* Initial FCS value */
#define PPP_GOODFCS 0xf0b8 /* Good final 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. * Extended asyncmap - allows any character to be escaped.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment