[PATCH 4/5] 2.6.7-mm6, CRC16 renaming in PPP driver

From: Andrey Panin
Date: Thu Jul 08 2004 - 08:12:28 EST



Signed-off-by: Andrey Panin <pazke@xxxxxxxxx>

drivers/net/ppp_async.c | 2 +-
include/linux/ppp_defs.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff -urpN -X /usr/share/dontdiff linux-2.6.7-mm5.vanilla/drivers/net/ppp_async.c linux-2.6.7-mm5/drivers/net/ppp_async.c
--- linux-2.6.7-mm5.vanilla/drivers/net/ppp_async.c Thu Jul 1 20:58:12 2004
+++ linux-2.6.7-mm5/drivers/net/ppp_async.c Thu Jul 1 22:47:57 2004
@@ -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>
diff -urpN -X /usr/share/dontdiff linux-2.6.7-mm5.vanilla/include/linux/ppp_defs.h linux-2.6.7-mm5/include/linux/ppp_defs.h
--- linux-2.6.7-mm5.vanilla/include/linux/ppp_defs.h Thu Jul 1 20:58:31 2004
+++ linux-2.6.7-mm5/include/linux/ppp_defs.h Thu Jul 1 22:45:25 2004
@@ -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.

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