[PATCH 5/5] 2.6.7-mm6, CRC16 renaming in VIA Velocity ethernet driver

From: Andrey Panin
Date: Thu Jul 08 2004 - 08:09:25 EST



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

drivers/net/via-velocity.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff -urpNX /usr/share/dontdiff linux-2.6.7-mm6.vanilla/drivers/net/via-velocity.c linux-2.6.7-mm6/drivers/net/via-velocity.c
--- linux-2.6.7-mm6.vanilla/drivers/net/via-velocity.c Wed Jul 7 20:07:11 2004
+++ linux-2.6.7-mm6/drivers/net/via-velocity.c Wed Jul 7 20:36:19 2004
@@ -78,7 +78,7 @@
#include <linux/ip.h>
#include <linux/tcp.h>
#include <linux/udp.h>
-#include <linux/crc16.h>
+#include <linux/crc-ccitt.h>
#include <linux/crc32.h>

#include "via-velocity.h"
@@ -3086,7 +3086,7 @@ u16 wol_calc_crc(int size, u8 * pattern,
continue;
}
mask >>= 1;
- crc = crc16(crc, &(pattern[i * 8 + j]), 1);
+ crc = crc_ccitt(crc, &(pattern[i * 8 + j]), 1);
}
}
/* Finally, invert the result once to get the correct data */

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