devices/e1000/e1000_main-2.6.32-ethercat.c
branchstable-1.5
changeset 2469 634ba3b1eb95
parent 2421 bc2d4bf9cbe5
child 2471 fc64a4b1ec1a
equal deleted inserted replaced
2468:3134b7255f3d 2469:634ba3b1eb95
  1330 		goto err_req_irq;
  1330 		goto err_req_irq;
  1331 
  1331 
  1332 	/* From here on the code is the same as e1000_up() */
  1332 	/* From here on the code is the same as e1000_up() */
  1333 	clear_bit(__E1000_DOWN, &adapter->flags);
  1333 	clear_bit(__E1000_DOWN, &adapter->flags);
  1334 
  1334 
  1335 	napi_enable(&adapter->napi);
  1335 	if (!adapter->ecdev) {
  1336 
  1336 		napi_enable(&adapter->napi);
  1337 	e1000_irq_enable(adapter);
  1337 
  1338 
  1338 		e1000_irq_enable(adapter);
  1339 	netif_start_queue(netdev);
  1339 
       
  1340 		netif_start_queue(netdev);
       
  1341 	}
  1340 
  1342 
  1341 	/* fire a link status change interrupt to start the watchdog */
  1343 	/* fire a link status change interrupt to start the watchdog */
  1342 	ew32(ICS, E1000_ICS_LSC);
  1344 	ew32(ICS, E1000_ICS_LSC);
  1343 
  1345 
  1344 	return E1000_SUCCESS;
  1346 	return E1000_SUCCESS;