From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264419AbUGHNE7 (ORCPT ); Thu, 8 Jul 2004 09:04:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264595AbUGHNDn (ORCPT ); Thu, 8 Jul 2004 09:03:43 -0400 Received: from mail.donpac.ru ([80.254.111.2]:22459 "EHLO donpac.ru") by vger.kernel.org with ESMTP id S264419AbUGHNBg (ORCPT ); Thu, 8 Jul 2004 09:01:36 -0400 Subject: [PATCH 5/5] 2.6.7-mm6, CRC16 renaming in VIA Velocity ethernet driver In-Reply-To: <10892916902912@donpac.ru> X-Mailer: gregkh_patchbomb_levon_offspring Date: Thu, 8 Jul 2004 17:01:33 +0400 Message-Id: <10892916931944@donpac.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: Andrew Morton , linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7BIT From: Andrey Panin Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Andrey Panin 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 #include #include -#include +#include #include #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 */