[PATCH 2/5] 2.6.7-mm6, CRC16 renaming in IRDA drivers

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



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

include/net/irda/crc.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff -urpN -X /usr/share/dontdiff linux-2.6.7-mm5.vanilla/include/net/irda/crc.h linux-2.6.7-mm5/include/net/irda/crc.h
--- linux-2.6.7-mm5.vanilla/include/net/irda/crc.h Thu Jul 1 20:58:31 2004
+++ linux-2.6.7-mm5/include/net/irda/crc.h Thu Jul 1 22:45:07 2004
@@ -15,15 +15,15 @@
#define IRDA_CRC_H

#include <linux/types.h>
-#include <linux/crc16.h>
+#include <linux/crc-ccitt.h>

#define INIT_FCS 0xffff /* Initial FCS value */
#define GOOD_FCS 0xf0b8 /* Good final FCS value */

/* Recompute the FCS with one more character appended. */
-#define irda_fcs(fcs, c) crc16_byte(fcs, c)
+#define irda_fcs(fcs, c) crc_ccitt_byte(fcs, c)

/* Recompute the FCS with len bytes appended. */
-#define irda_calc_crc16(fcs, buf, len) crc16(fcs, buf, len)
+#define irda_calc_crc16(fcs, buf, len) crc_ccitt(fcs, buf, len)

#endif

-
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/