Skip to content

Commit

Permalink
forcedeth: fix nic poll
Browse files Browse the repository at this point in the history
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>

Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Ayaz Abdulla authored and Jeff Garzik committed Mar 28, 2007
1 parent b3b1514 commit fcc5f26
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/net/forcedeth.c
Original file line number Diff line number Diff line change
Expand Up @@ -3536,7 +3536,10 @@ static void nv_do_nic_poll(unsigned long data)
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
Expand Down

0 comments on commit fcc5f26

Please sign in to comment.