Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2007 12:58:04 -0800
From:      "Jack Vogel" <jfvogel@gmail.com>
To:        freebsd-stable@freebsd.org, freebsd-net <freebsd-net@freebsd.org>,  freebsd-current <freebsd-current@freebsd.org>,  "Jon Otterholm" <jon.otterholm@ide.resurscentrum.se>
Subject:   Lenovo X60 em workaround
Message-ID:  <2a41acea0701171258k16b4c6ebuf1d4794b89d0749b@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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);
        /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2a41acea0701171258k16b4c6ebuf1d4794b89d0749b>