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>
struct e1000_hw *hw = &adapter->hw;
u32 rctl, icr = er32(ICR);
struct e1000_hw *hw = &adapter->hw;
u32 rctl, icr = er32(ICR);
+ if (!icr || test_bit(__E1000_DOWN, &adapter->state))
return IRQ_NONE; /* Not our interrupt */
/*
return IRQ_NONE; /* Not our interrupt */
/*