<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Return-Path: &lt;pazke@donpac.ru&gt;
Received: from localhost (bix [127.0.0.1])
	by localhost.localdomain (8.12.10/8.12.10) with ESMTP id i68D1ehL009241
	for &lt;akpm@localhost&gt;; Thu, 8 Jul 2004 06:01:42 -0700
Received: from bix [127.0.0.1]
	by localhost with POP3 (fetchmail-6.2.0)
	for akpm@localhost (single-drop); Thu, 08 Jul 2004 06:01:42 -0700 (PDT)
Received: from fire-2.osdl.org (fire.osdl.org [65.172.181.4])
	by mail.osdl.org (8.11.6/8.11.6) with ESMTP id i68D1dG22460
	for &lt;akpm@mail.gateway.osdl.net&gt;; Thu, 8 Jul 2004 06:01:39 -0700
Received: from donpac.ru (mail.donpac.ru [80.254.111.2])
	by fire-2.osdl.org (8.12.8/8.12.8) with ESMTP id i68D1aws017963
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)
	for &lt;akpm@osdl.org&gt;; Thu, 8 Jul 2004 06:01:38 -0700
Received: from [80.254.111.9] (helo=pazke)
	by donpac.ru with smtp (Exim 4.34)
	id 1BiYWq-0005oM-Jz; Thu, 08 Jul 2004 17:01:35 +0400
Subject: [PATCH 5/5] 2.6.7-mm6, CRC16 renaming in VIA Velocity ethernet driver
In-Reply-To: &lt;10892916902912@donpac.ru&gt;
X-Mailer: gregkh_patchbomb_levon_offspring
Date: Thu, 8 Jul 2004 17:01:33 +0400
Message-Id: &lt;10892916931944@donpac.ru&gt;
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
To: Andrew Morton &lt;akpm@osdl.org&gt;, linux-kernel@vger.kernel.org
Content-Transfer-Encoding: 8bit
From: Andrey Panin &lt;pazke@donpac.ru&gt;
X-MIMEDefang-Filter: osdl$Revision: 1.70 $
X-Scanned-By: MIMEDefang 2.36
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on bix
X-Spam-Status: No, hits=-4.2 required=1.0 tests=BAYES_00,RATWARE_HASH_2_V2 
	autolearn=no version=2.60


Signed-off-by: Andrey Panin &lt;pazke@donpac.ru&gt;

 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 &lt;linux/ip.h&gt;
 #include &lt;linux/tcp.h&gt;
 #include &lt;linux/udp.h&gt;
-#include &lt;linux/crc16.h&gt;
+#include &lt;linux/crc-ccitt.h&gt;
 #include &lt;linux/crc32.h&gt;
 
 #include "via-velocity.h"
@@ -3086,7 +3086,7 @@ u16 wol_calc_crc(int size, u8 * pattern,
 				continue;
 			}
 			mask &gt;&gt;= 1;
-			crc = crc16(crc, &amp;(pattern[i * 8 + j]), 1);
+			crc = crc_ccitt(crc, &amp;(pattern[i * 8 + j]), 1);
 		}
 	}
 	/*	Finally, invert the result once to get the correct data */
</pre></body></html>