From owner-freebsd-net@FreeBSD.ORG Wed Jan 17 20:58:05 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ADBD116A412 for ; Wed, 17 Jan 2007 20:58:05 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id 7078D13C43E for ; Wed, 17 Jan 2007 20:58:05 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so877ana for ; Wed, 17 Jan 2007 12:58:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=pItgPkHaEDbrkTAjGN71hv0qcZZ3IouKdHWYpGWW8idPlsIpydF/Xu41wiT/rxXufbn/d4EYnRpwkpTbwkgOW/1RMcHq1q9hQlUEZd/XDZ17PkBwvj7R2iIvE9MV+wOQWye3GWP6dCUT6AL63mxytKDiQEeTQQbRo2cTL+AXEsw= Received: by 10.100.138.2 with SMTP id l2mr3714510and.1169067484872; Wed, 17 Jan 2007 12:58:04 -0800 (PST) Received: by 10.100.112.17 with HTTP; Wed, 17 Jan 2007 12:58:04 -0800 (PST) Message-ID: <2a41acea0701171258k16b4c6ebuf1d4794b89d0749b@mail.gmail.com> Date: Wed, 17 Jan 2007 12:58:04 -0800 From: "Jack Vogel" To: freebsd-stable@freebsd.org, freebsd-net , freebsd-current , "Jon Otterholm" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Lenovo X60 em workaround X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 20:58:05 -0000 Since this was just seen, and the patch below validated as working I wanted to send general email to capture this: The Lenovo X60 can have issues with long ping times, this is a KNOWN hardware problem, and Intel is working with IBM/Lenovo, a final 'fix' has not been decided on yet. Nevertheless, the patch below will work, but I do not want to check it in as its still temporary. Address questions to me, Jack PS This is based on 6.2, but is needed for CURRENT as well. --- if_em.dist.c Wed Jan 17 17:59:46 2007 +++ if_em.c Wed Jan 17 18:03:13 2007 @@ -3348,6 +3348,10 @@ E1000_WRITE_REG(&adapter->hw, RXCSUM, reg_rxcsum); } + /* TEMPORARY WORKAROUND for X60 */ + if (adapter->hw.mac_type == em_82573) + E1000_WRITE_REG(&adapter->hw, RDTR, 32); + /* Enable Receives */ E1000_WRITE_REG(&adapter->hw, RCTL, reg_rctl); /*