Commit fcc5f266 authored by Ayaz Abdulla's avatar Ayaz Abdulla Committed by Jeff Garzik

forcedeth: fix nic poll

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: default avatarAyaz Abdulla <aabdulla@nvidia.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent b3b1514c
...@@ -3536,6 +3536,9 @@ static void nv_do_nic_poll(unsigned long data) ...@@ -3536,6 +3536,9 @@ static void nv_do_nic_poll(unsigned long data)
pci_push(base); pci_push(base);
if (!using_multi_irqs(dev)) { if (!using_multi_irqs(dev)) {
if (np->desc_ver == DESC_VER_3)
nv_nic_irq_optimized(0, dev);
else
nv_nic_irq(0, dev); nv_nic_irq(0, dev);
if (np->msi_flags & NV_MSI_X_ENABLED) if (np->msi_flags & NV_MSI_X_ENABLED)
enable_irq_lockdep(np->msi_x_entry[NV_MSI_X_VECTOR_ALL].vector); enable_irq_lockdep(np->msi_x_entry[NV_MSI_X_VECTOR_ALL].vector);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment