netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] forcedeth: fix nic poll
@ 2007-03-23 10:49 Ayaz Abdulla
  2007-03-28  6:19 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Ayaz Abdulla @ 2007-03-23 10:49 UTC (permalink / raw)
  To: Jeff Garzik, Manfred Spraul, Andrew Morton, nedev

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

The nic poll routine was missing the call to the optimized irq routine. 
This patch adds the missing call for the optimized path.

See http://bugzilla.kernel.org/show_bug.cgi?id=7950 for more information.

Signed-Off-By: Ayaz Abdulla <aabdulla@nvidia.com>


[-- Attachment #2: patch-forcedeth-fix-poll --]
[-- Type: text/plain, Size: 454 bytes --]

--- orig/drivers/net/forcedeth.c	2007-03-11 20:38:20.000000000 -0500
+++ new/drivers/net/forcedeth.c	2007-03-11 20:38:24.000000000 -0500
@@ -3536,7 +3536,10 @@
 	pci_push(base);
 
 	if (!using_multi_irqs(dev)) {
-		nv_nic_irq(0, dev);
+		if (np->desc_ver == DESC_VER_3)
+			nv_nic_irq_optimized(0, dev);
+		else
+			nv_nic_irq(0, dev);
 		if (np->msi_flags & NV_MSI_X_ENABLED)
 			enable_irq_lockdep(np->msi_x_entry[NV_MSI_X_VECTOR_ALL].vector);
 		else

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

end of thread, other threads:[~2007-03-28  6:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-23 10:49 [PATCH 1/2] forcedeth: fix nic poll Ayaz Abdulla
2007-03-28  6:19 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).