Messages in this thread Patch in this message | | | Subject | [PATCH 2/5] 2.6.7-mm6, CRC16 renaming in IRDA drivers | Date | Thu, 8 Jul 2004 17:01:24 +0400 | From | Andrey Panin <> |
| |
Signed-off-by: Andrey Panin <pazke@donpac.ru>
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |