r1663 - in trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian: . patches

Joshua Kwan joshk@haydn.debian.org
Fri, 08 Oct 2004 18:04:54 -0600


Author: joshk
Date: 2004-10-08 18:04:42 -0600 (Fri, 08 Oct 2004)
New Revision: 1663

Added:
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/sparc64-hme-lockup.dpatch
Modified:
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog
Log:
add HME lockup workaround


Modified: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog	2004-10-07 05:41:32 UTC (rev 1662)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog	2004-10-09 00:04:42 UTC (rev 1663)
@@ -1,3 +1,10 @@
+kernel-source-2.6.8 (2.6.8-8) UNRELEASED; urgency=low
+
+  * Add workaround for broken Happy Meal ethernet controllers. closes: #275485
+    (Joshua Kwan)
+
+ -- Joshua Kwan <joshk@triplehelix.org>  Fri,  8 Oct 2004 17:03:46 -0700
+
 kernel-source-2.6.8 (2.6.8-7) unstable; urgency=medium
 
   * Fix VGA console on PReP systems (closes: #271852) (Jens Schmalzing).

Added: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/sparc64-hme-lockup.dpatch
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/sparc64-hme-lockup.dpatch	2004-10-07 05:41:32 UTC (rev 1662)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/sparc64-hme-lockup.dpatch	2004-10-09 00:04:42 UTC (rev 1663)
@@ -0,0 +1,20 @@
+# origin: Debian (bcollins)
+# cset: n/a
+# inclusion: not suitable for upstream
+# revision date: 2004-10-08
+
+Seemingly only on the onboard hme's on the Ultra 1E (enterprise) models
+(as the non-E models have an onboard le)... it's a strange lockup problem
+that requires a reboot to fix.  This one-liner is a band-aid that seems
+to take care of it... a possible weirdo timing bug. --Uzi
+
+--- linux/drivers/net/sunhme.c.orig	Mon Jul 15 02:38:27 2002
++++ linux/drivers/net/sunhme.c	Mon Jul 15 03:09:03 2002
+@@ -1983,6 +1983,7 @@
+ 	}
+ 	hp->tx_old = elem;
+ 	TXD((">"));
++	udelay(1);
+ 
+ 	if (netif_queue_stopped(dev) &&
+ 	    TX_BUFFS_AVAIL(hp) > (MAX_SKB_FRAGS + 1))