drivers/ec_master.c
changeset 6 e36a85dc2730
parent 5 6f2508af550c
child 8 f2ebe943c686
equal deleted inserted replaced
5:6f2508af550c 6:e36a85dc2730
  1765   {
  1765   {
  1766     EC_DBG(KERN_WARNING "EtherCAT: No process data command available!\n");
  1766     EC_DBG(KERN_WARNING "EtherCAT: No process data command available!\n");
  1767     return -1;
  1767     return -1;
  1768   }
  1768   }
  1769 
  1769 
       
  1770   EtherCAT_device_call_isr(master->dev);
       
  1771 
  1770   if (EtherCAT_receive(master) < 0)
  1772   if (EtherCAT_receive(master) < 0)
  1771   {
  1773   {
  1772     EC_DBG(KERN_ERR "EtherCAT: Could not receive cyclic command!\n");
  1774     EC_DBG(KERN_ERR "EtherCAT: Could not receive cyclic command!\n");
  1773   }
  1775   }
  1774   else if (master->process_data_command->state != ECAT_CS_RECEIVED)
  1776   else if (master->process_data_command->state != ECAT_CS_RECEIVED)