--- a/master/rtdm.c Fri Oct 05 01:26:51 2018 +0200
+++ b/master/rtdm.c Fri Oct 05 17:45:44 2018 +0200
@@ -203,13 +203,45 @@
switch (request) {
/*
Requests to be handled directly in primary domain
+
+ Note: list was made by selecting calls in ioctl.c
+ that seems not to make calls forbiden in primary mode
*/
+ case EC_IOCTL_MASTER_RESCAN:
case EC_IOCTL_SEND:
case EC_IOCTL_RECEIVE:
case EC_IOCTL_MASTER_STATE:
+ case EC_IOCTL_MASTER_LINK_STATE:
+ case EC_IOCTL_APP_TIME:
+ case EC_IOCTL_SYNC_REF:
+ case EC_IOCTL_SYNC_SLAVES:
+ case EC_IOCTL_REF_CLOCK_TIME:
+ case EC_IOCTL_SYNC_MON_QUEUE:
+ case EC_IOCTL_SYNC_MON_PROCESS:
+ case EC_IOCTL_SC_EMERG_POP:
+ case EC_IOCTL_SC_EMERG_CLEAR:
+ case EC_IOCTL_SC_EMERG_OVERRUNS:
+ case EC_IOCTL_SC_STATE:
case EC_IOCTL_DOMAIN_STATE:
case EC_IOCTL_DOMAIN_PROCESS:
case EC_IOCTL_DOMAIN_QUEUE:
+ case EC_IOCTL_SDO_REQUEST_INDEX:
+ case EC_IOCTL_SDO_REQUEST_TIMEOUT:
+ case EC_IOCTL_SDO_REQUEST_STATE:
+ case EC_IOCTL_SDO_REQUEST_READ:
+ case EC_IOCTL_SDO_REQUEST_WRITE:
+ case EC_IOCTL_SDO_REQUEST_DATA:
+ case EC_IOCTL_REG_REQUEST_DATA:
+ case EC_IOCTL_REG_REQUEST_STATE:
+ case EC_IOCTL_REG_REQUEST_WRITE:
+ case EC_IOCTL_REG_REQUEST_READ:
+ case EC_IOCTL_VOE_SEND_HEADER:
+ case EC_IOCTL_VOE_REC_HEADER:
+ case EC_IOCTL_VOE_READ:
+ case EC_IOCTL_VOE_READ_NOSYNC:
+ case EC_IOCTL_VOE_WRITE:
+ case EC_IOCTL_VOE_EXEC:
+ case EC_IOCTL_VOE_DATA:
return ec_rtdm_ioctl(fd, request, arg);
default:
break;