e1000 on 2.6.33: handle link-down
authorMartin Troxler <ch1010277@ch10pc446>
Thu, 06 Jan 2011 10:50:54 +0100
changeset 2033 b67eb5c26716
parent 2032 57c618557912
child 2034 ca03a6737cb7
e1000 on 2.6.33: handle link-down
devices/e1000/e1000_main-2.6.33-ethercat.c
--- a/devices/e1000/e1000_main-2.6.33-ethercat.c	Wed Jan 05 12:46:12 2011 +0100
+++ b/devices/e1000/e1000_main-2.6.33-ethercat.c	Thu Jan 06 10:50:54 2011 +0100
@@ -3457,7 +3457,7 @@
 	if (unlikely((!icr) || test_bit(__E1000_DOWN, &adapter->flags)))
 		return IRQ_NONE;  /* Not our interrupt */
 
-	if (!adapter->ecdev && unlikely(icr & (E1000_ICR_RXSEQ | E1000_ICR_LSC))) {
+    if (unlikely(icr & (E1000_ICR_RXSEQ | E1000_ICR_LSC))) {
 		hw->get_link_status = 1;
 		/* guard against interrupt when we're going down */
 		if (!test_bit(__E1000_DOWN, &adapter->flags))