Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135551
b: refs/heads/master
c: a3c69fe
h: refs/heads/master
i:
  135549: 1e6e400
  135547: f91b5e0
  135543: e4ef605
  135535: 3df465c
  135519: 52c33fd
  135487: d1ecd8f
  135423: e6f456c
v: v3
  • Loading branch information
Jesse Brandeburg authored and David S. Miller committed Mar 26, 2009
1 parent 73318e6 commit 7784023
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a72d2b2cc63994cb8d592a004bf5331be6905814
refs/heads/master: a3c69fef7a7775b0bcfbb8249845a25598cfe951
16 changes: 10 additions & 6 deletions trunk/drivers/net/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,8 @@ static irqreturn_t e1000_msix_other(int irq, void *data)
u32 icr = er32(ICR);

if (!(icr & E1000_ICR_INT_ASSERTED)) {
ew32(IMS, E1000_IMS_OTHER);
if (!test_bit(__E1000_DOWN, &adapter->state))
ew32(IMS, E1000_IMS_OTHER);
return IRQ_NONE;
}

Expand All @@ -1278,7 +1279,8 @@ static irqreturn_t e1000_msix_other(int irq, void *data)
}

no_link_interrupt:
ew32(IMS, E1000_IMS_LSC | E1000_IMS_OTHER);
if (!test_bit(__E1000_DOWN, &adapter->state))
ew32(IMS, E1000_IMS_LSC | E1000_IMS_OTHER);

return IRQ_HANDLED;
}
Expand Down Expand Up @@ -2015,10 +2017,12 @@ static int e1000_clean(struct napi_struct *napi, int budget)
if (adapter->itr_setting & 3)
e1000_set_itr(adapter);
napi_complete(napi);
if (adapter->msix_entries)
ew32(IMS, adapter->rx_ring->ims_val);
else
e1000_irq_enable(adapter);
if (!test_bit(__E1000_DOWN, &adapter->state)) {
if (adapter->msix_entries)
ew32(IMS, adapter->rx_ring->ims_val);
else
e1000_irq_enable(adapter);
}
}

return work_done;
Expand Down

0 comments on commit 7784023

Please sign in to comment.