Re: Ultrasparc 1 network freeze

From: David S. Miller (davem@redhat.com)
Date: Sun Aug 11 2002 - 20:29:23 EST


   From: Joshua Uziel <uzi@uzix.org>
   Date: Sun, 11 Aug 2002 15:30:11 -0700
   
   Yep... known issue with the sunhme driver.
  ...
   --- drivers/net/sunhme.c.orig Mon Jul 15 02:38:27 2002
   +++ drivers/net/sunhme.c Mon Jul 15 03:09:03 2002

Hmmm, can the people who can reproduce this try this patch
instead?

--- drivers/net/sunhme.c.~1~ Sun Aug 11 18:37:34 2002
+++ drivers/net/sunhme.c Sun Aug 11 18:38:17 2002
@@ -1640,6 +1640,7 @@
         HMD((", enable global interrupts, "));
         hme_write32(hp, gregs + GREG_IMASK,
                     (GREG_IMASK_GOTFRAME | GREG_IMASK_RCNTEXP |
+ GREG_IMASK_TXALL |
                      GREG_IMASK_SENTFRAME | GREG_IMASK_TXPERR));
 
         /* Set the transmit ring buffer size. */
@@ -2125,8 +2126,8 @@
                 happy_meal_mif_interrupt(hp);
         }
 
- if (happy_status & GREG_STAT_TXALL) {
- HMD(("TXALL "));
+ if (happy_status & GREG_STAT_HOSTTOTX) {
+ HMD(("HOSTTOTX "));
                 happy_meal_tx(hp);
         }
 
@@ -2155,7 +2156,7 @@
 
                 if (!(happy_status & (GREG_STAT_ERRORS |
                                       GREG_STAT_MIFIRQ |
- GREG_STAT_TXALL |
+ GREG_STAT_HOSTTOTX |
                                       GREG_STAT_RXTOHOST)))
                         continue;
 
@@ -2172,8 +2173,8 @@
                         happy_meal_mif_interrupt(hp);
                 }
 
- if (happy_status & GREG_STAT_TXALL) {
- HMD(("TXALL "));
+ if (happy_status & GREG_STAT_HOSTTOTX) {
+ HMD(("HOSTTOTX "));
                         happy_meal_tx(hp);
                 }
 
-
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 : Thu Aug 15 2002 - 22:00:26 EST