Re: kernel BUG at tg3.c:1557

From: David S. Miller (davem@redhat.com)
Date: Wed Aug 07 2002 - 09:20:20 EST


   From: Roland Kuhn <rkuhn@e18.physik.tu-muenchen.de>
   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/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:36 EST