Subject: [PATCH 5/5] 2.6.7-mm6, CRC16 renaming in VIA Velocity ethernet driver
From: Andrey Panin <[email-masked]>
To: Andrew Morton <[email-masked]>, [email-masked]
Date: Thu, 8 Jul 2004 17:01:33 +0400

Signed-off-by: Andrey Panin <[email-masked]>

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