devices/e1000/e1000_main-2.6.24-ethercat.c
changeset 1152 30f168c7f74f
parent 1011 a0759d0dded4
child 1154 04bcd38cf8dc
equal deleted inserted replaced
1151:1fc1535dec29 1152:30f168c7f74f
  4344 				  ((uint32_t)(rx_desc->errors) << 24),
  4344 				  ((uint32_t)(rx_desc->errors) << 24),
  4345 				  le16_to_cpu(rx_desc->csum), skb);
  4345 				  le16_to_cpu(rx_desc->csum), skb);
  4346 
  4346 
  4347 		if (adapter->ecdev) {
  4347 		if (adapter->ecdev) {
  4348 			ecdev_receive(adapter->ecdev, skb->data, length);
  4348 			ecdev_receive(adapter->ecdev, skb->data, length);
       
  4349 
       
  4350 			// No need to detect link status as
       
  4351 			// long as frames are received: Reset watchdog.
       
  4352 			adapter->ec_watchdog_jiffies = jiffies;
  4349 		} else {
  4353 		} else {
  4350 			skb->protocol = eth_type_trans(skb, netdev);
  4354 			skb->protocol = eth_type_trans(skb, netdev);
  4351 #ifdef CONFIG_E1000_NAPI
  4355 #ifdef CONFIG_E1000_NAPI
  4352 			if (unlikely(adapter->vlgrp &&
  4356 			if (unlikely(adapter->vlgrp &&
  4353 			   	 (status & E1000_RXD_STAT_VP))) {
  4357 			   	 (status & E1000_RXD_STAT_VP))) {