All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: uzi@uzix.org
Cc: kieran@esperi.demon.co.uk, linux-kernel@vger.kernel.org
Subject: Re: Ultrasparc 1 network freeze
Date: Sun, 11 Aug 2002 18:29:23 -0700 (PDT)	[thread overview]
Message-ID: <20020811.182923.02248401.davem@redhat.com> (raw)
In-Reply-To: <20020811223010.GB16890@uzix.org>

   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);
 		}
 

  reply	other threads:[~2002-08-12  1:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-11 20:55 Ultrasparc 1 network freeze Kieran
2002-08-11 22:30 ` Joshua Uziel
2002-08-12  1:29   ` David S. Miller [this message]
2002-08-12  5:09     ` Joshua Uziel
2002-08-12  7:11       ` Joshua Uziel
2002-08-12  7:53         ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020811.182923.02248401.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=kieran@esperi.demon.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=uzi@uzix.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.