public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.15-rc2] b44: missing netif_wake_queue() in b44_open()
@ 2005-11-24 19:43 Mark Lord
       [not found] ` <Pine.LNX.4.64.0511241146560.13959@g5.osdl.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Lord @ 2005-11-24 19:43 UTC (permalink / raw)
  To: Linus Torvalds, Linux Kernel

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

This patch fixes a problem plaguing Dell notebooks with
built-in b44 ethernet:  The driver refuses to transmit packets
of any kind until after the first 5-second tx_timeout occurs.
This bug causes DHCP negotiation to fail (timeout) during
installation of Ubuntu Linux.

One-liner fix.  Please review (and apply if you like it).

Signed-off-by:  Mark Lord <lkml@rtr.ca>

--- linux-2.6.15-rc2/drivers/net/b44.c  2005-11-19 22:25:03.000000000 -0500
+++ linux/drivers/net/b44.c     2005-11-24 14:28:47.000000000 -0500
@@ -1417,6 +1417,7 @@
         add_timer(&bp->timer);

         b44_enable_ints(bp);
+       netif_wake_queue(dev);  /* prevent the initial tx_timeout() we otherwise see */
  out:
         return err;
  }

[-- Attachment #2: b44_fix.patch --]
[-- Type: text/x-patch, Size: 315 bytes --]

--- linux-2.6.15-rc2/drivers/net/b44.c	2005-11-19 22:25:03.000000000 -0500
+++ linux/drivers/net/b44.c	2005-11-24 14:28:47.000000000 -0500
@@ -1417,6 +1417,7 @@
 	add_timer(&bp->timer);
 
 	b44_enable_ints(bp);
+	netif_wake_queue(dev);	/* prevent the initial tx_timeout() we otherwise see */
 out:
 	return err;
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-24 20:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-24 19:43 [PATCH 2.6.15-rc2] b44: missing netif_wake_queue() in b44_open() Mark Lord
     [not found] ` <Pine.LNX.4.64.0511241146560.13959@g5.osdl.org>
     [not found]   ` <43861E6F.9090604@pobox.com>
2005-11-24 20:27     ` Mark Lord

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox