equal
deleted
inserted
replaced
382 */ |
382 */ |
383 void ec_device_poll( |
383 void ec_device_poll( |
384 ec_device_t *device /**< EtherCAT device */ |
384 ec_device_t *device /**< EtherCAT device */ |
385 ) |
385 ) |
386 { |
386 { |
|
387 #ifdef EC_HAVE_CYCLES |
387 device->cycles_poll = get_cycles(); |
388 device->cycles_poll = get_cycles(); |
|
389 #endif |
388 device->jiffies_poll = jiffies; |
390 device->jiffies_poll = jiffies; |
389 #ifdef EC_DEBUG_RING |
391 #ifdef EC_DEBUG_RING |
390 do_gettimeofday(&device->timeval_poll); |
392 do_gettimeofday(&device->timeval_poll); |
391 #endif |
393 #endif |
392 device->poll(device->dev); |
394 device->poll(device->dev); |