devices/e1000/e1000_main-2.6.28-ethercat.c
branchstable-1.5
changeset 2469 634ba3b1eb95
parent 2421 bc2d4bf9cbe5
child 2471 fc64a4b1ec1a
equal deleted inserted replaced
2468:3134b7255f3d 2469:634ba3b1eb95
  1527 		goto err_req_irq;
  1527 		goto err_req_irq;
  1528 
  1528 
  1529 	/* From here on the code is the same as e1000_up() */
  1529 	/* From here on the code is the same as e1000_up() */
  1530 	clear_bit(__E1000_DOWN, &adapter->flags);
  1530 	clear_bit(__E1000_DOWN, &adapter->flags);
  1531 
  1531 
  1532 	napi_enable(&adapter->napi);
  1532 	if (!adapter->ecdev) {
  1533 
  1533 		napi_enable(&adapter->napi);
  1534 	e1000_irq_enable(adapter);
  1534 
  1535 
  1535 		e1000_irq_enable(adapter);
  1536 	netif_start_queue(netdev);
  1536 
       
  1537 		netif_start_queue(netdev);
       
  1538 	}
  1537 
  1539 
  1538 	/* fire a link status change interrupt to start the watchdog */
  1540 	/* fire a link status change interrupt to start the watchdog */
  1539 	ew32(ICS, E1000_ICS_LSC);
  1541 	ew32(ICS, E1000_ICS_LSC);
  1540 
  1542 
  1541 	return E1000_SUCCESS;
  1543 	return E1000_SUCCESS;