devices/e1000/e1000_main-2.6.33-ethercat.c
changeset 2060 8b67602f5161
parent 2033 b67eb5c26716
child 2163 d6d49dcaf7a5
equal deleted inserted replaced
2059:ab0b96ac18bb 2060:8b67602f5161
  3455 	u32 icr = er32(ICR);
  3455 	u32 icr = er32(ICR);
  3456 
  3456 
  3457 	if (unlikely((!icr) || test_bit(__E1000_DOWN, &adapter->flags)))
  3457 	if (unlikely((!icr) || test_bit(__E1000_DOWN, &adapter->flags)))
  3458 		return IRQ_NONE;  /* Not our interrupt */
  3458 		return IRQ_NONE;  /* Not our interrupt */
  3459 
  3459 
  3460 	if (!adapter->ecdev && unlikely(icr & (E1000_ICR_RXSEQ | E1000_ICR_LSC))) {
  3460     if (unlikely(icr & (E1000_ICR_RXSEQ | E1000_ICR_LSC))) {
  3461 		hw->get_link_status = 1;
  3461 		hw->get_link_status = 1;
  3462 		/* guard against interrupt when we're going down */
  3462 		/* guard against interrupt when we're going down */
  3463 		if (!test_bit(__E1000_DOWN, &adapter->flags))
  3463 		if (!test_bit(__E1000_DOWN, &adapter->flags))
  3464 			mod_timer(&adapter->watchdog_timer, jiffies + 1);
  3464 			mod_timer(&adapter->watchdog_timer, jiffies + 1);
  3465 	}
  3465 	}