Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 7 Aug 2002 10:46:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 7 Aug 2002 10:46:33 -0400 Received: from axp01.e18.physik.tu-muenchen.de ([129.187.154.129]:24837 "EHLO axp01.e18.physik.tu-muenchen.de") by vger.kernel.org with ESMTP id ; Wed, 7 Aug 2002 10:46:33 -0400 Date: Wed, 7 Aug 2002 16:49:24 +0200 (CEST) From: Roland Kuhn To: "David S. Miller" Cc: alan@lxorguk.ukuu.org.uk, Subject: Re: kernel BUG at tg3.c:1557 In-Reply-To: <20020807.072020.130694315.davem@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1634 Lines: 47 On Wed, 7 Aug 2002, David S. Miller wrote: > 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(). > Sorry, same problem as before. It looks like the spinlocked write method does not work on the BCM5701 chip :-( Ciao, Roland +---------------------------+-------------------------+ | TU Muenchen | | | Physik-Department E18 | Raum 3558 | | James-Franck-Str. | Telefon 089/289-12592 | | 85747 Garching | | +---------------------------+-------------------------+ - 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/