Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262338AbVBKUpU (ORCPT ); Fri, 11 Feb 2005 15:45:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262340AbVBKUpT (ORCPT ); Fri, 11 Feb 2005 15:45:19 -0500 Received: from mms-nat.broadcom.com ([63.70.210.58]:57099 "EHLO MMS3.broadcom.com") by vger.kernel.org with ESMTP id S262339AbVBKUo2 (ORCPT ); Fri, 11 Feb 2005 15:44:28 -0500 X-Server-Uuid: 35E76369-CF33-4172-911A-D1698BD5E887 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: [PATCH] tg3: capacitive coupling detection fix Date: Fri, 11 Feb 2005 12:44:10 -0800 Message-ID: X-MS-Has-Attach: yes Thread-Topic: [PATCH] tg3: capacitive coupling detection fix thread-index: AcUQenBthEVwCOEDSUG7grDnD7JTOg== From: "Michael Chan" To: "David S. Miller" cc: netdev@oss.sgi.com, linux-kernel@vger.kernel.org, "john stultz" X-WSS-ID: 6E13C6902WC2342986-01-01 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C5107A.707CC563" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2868 Lines: 61 This is a multi-part message in MIME format. ------_=_NextPart_001_01C5107A.707CC563 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable This patch fixes the problem reported in: http://marc.theaimsgroup.com/?l=3Dlinux-kernel&m=3D110798711911645&w=3D2 The 5700 link problem was caused by reading uninitialized values in sram = and causing capacitive coupling mode to be enabled by mistake. This patch = fixes the problem by properly validating the sram contents. Signed-off-by: Michael Chan ------_=_NextPart_001_01C5107A.707CC563 Content-Type: application/octet-stream; name=tg3_cap_cpling.patch Content-Transfer-Encoding: base64 Content-Description: tg3_cap_cpling.patch Content-Disposition: attachment; filename=tg3_cap_cpling.patch ZGlmZiAtTnJ1IDIvdGcz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CQllZXByb21fc2lnbmF0dXJlX2ZvdW5kID0gMTsKIApkaWZmIC1OcnUg Mi90ZzMuaCAzL3RnMy5oCi0tLSAyL3RnMy5oCTIwMDUtMDItMTAgMTA6MjI6NDMuMDAwMDAwMDAw IC0wODAwCisrKyAzL3RnMy5oCTIwMDUtMDItMTAgMTA6MjY6NDQuMDAwMDAwMDAwIC0wODAwCkBA IC0xNDUyLDYgKzE0NTIsOSBAQAogI2RlZmluZSAgTklDX1NSQU1fREFUQV9DRkdfRklCRVJfV09M CQkgMHgwMDAwNDAwMAogI2RlZmluZSAgTklDX1NSQU1fREFUQV9DRkdfTk9fR1BJTzIJCSAweDAw MTAwMDAwCiAKKyNkZWZpbmUgTklDX1NSQU1fREFUQV9WRVIJCQkweDAwMDAwYjVjCisjZGVmaW5l ICBOSUNfU1JBTV9EQVRBX1ZFUl9TSElGVAkJIDE2CisKICNkZWZpbmUgTklDX1NSQU1fREFUQV9Q SFlfSUQJCTB4MDAwMDBiNzQKICNkZWZpbmUgIE5JQ19TUkFNX0RBVEFfUEhZX0lEMV9NQVNLCSAw eGZmZmYwMDAwCiAjZGVmaW5lICBOSUNfU1JBTV9EQVRBX1BIWV9JRDJfTUFTSwkgMHgwMDAwZmZm Zgo= ------_=_NextPart_001_01C5107A.707CC563-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/