aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2009-11-20 18:23:16 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-21 14:33:50 -0500
commita68ea775ad24ff403437c967628d2b9ce531ce48 (patch)
tree81795e1fc8270b35255b7797fd8bd5bd6f33a337 /drivers/net/e1000e
parente7d906f714994885b4889d02d6478e7a9418dcbe (diff)
e1000e: don't clean Rx ring while resetting
When using legacy interrupts, do not clean the Rx ring while resetting otherwise traffic will not pass. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e')
-rw-r--r--drivers/net/e1000e/netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index 3845fb698b4d..e819f1997550 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -1176,7 +1176,7 @@ static irqreturn_t e1000_intr(int irq, void *data)
1176 struct e1000_hw *hw = &adapter->hw; 1176 struct e1000_hw *hw = &adapter->hw;
1177 u32 rctl, icr = er32(ICR); 1177 u32 rctl, icr = er32(ICR);
1178 1178
1179 if (!icr) 1179 if (!icr || test_bit(__E1000_DOWN, &adapter->state))
1180 return IRQ_NONE; /* Not our interrupt */ 1180 return IRQ_NONE; /* Not our interrupt */
1181 1181
1182 /* 1182 /*