Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 7 Aug 2002 10:30:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 7 Aug 2002 10:30:42 -0400 Received: from pizda.ninka.net ([216.101.162.242]:16856 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id ; Wed, 7 Aug 2002 10:30:42 -0400 Date: Wed, 07 Aug 2002 07:20:20 -0700 (PDT) Message-Id: <20020807.072020.130694315.davem@redhat.com> To: rkuhn@e18.physik.tu-muenchen.de Cc: alan@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org Subject: Re: kernel BUG at tg3.c:1557 From: "David S. Miller" In-Reply-To: References: <20020807.050329.92273054.davem@redhat.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1066 Lines: 31 From: Roland Kuhn Date: Wed, 7 Aug 2002 16:25:32 +0200 (CEST) The second change is straightforward, and I implemented the first by setting *** around line 5569 pci_read_config_dword(tp->pdev, TG3PCI_PCISTATE, &pci_state_reg); + tp->tg3_flags |= TG3_FLAG_PCIX_TARGET_HWBUG; // rk if ((pci_state_reg & PCISTATE_CONV_PCI_MODE) == 0) { tp->tg3_flags |= TG3_FLAG_PCIX_MODE; *** With these changes I'm unable to bring the interface up again, getting timeouts from tg3_stop_block: Try instead setting it right before the comment which reads: /* Quick sanity check. Make sure we see an expected * value here. */ in tg3_get_invariants(). - 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/