equal
deleted
inserted
replaced
54 |
54 |
55 /** EtherCAT master ioctl() version magic. |
55 /** EtherCAT master ioctl() version magic. |
56 * |
56 * |
57 * Increment this when changing the ioctl interface! |
57 * Increment this when changing the ioctl interface! |
58 */ |
58 */ |
59 #define EC_IOCTL_VERSION_MAGIC 10 |
59 #define EC_IOCTL_VERSION_MAGIC 11 |
60 |
60 |
61 // Command-line tool |
61 // Command-line tool |
62 #define EC_IOCTL_MODULE EC_IOR(0x00, ec_ioctl_module_t) |
62 #define EC_IOCTL_MODULE EC_IOR(0x00, ec_ioctl_module_t) |
63 #define EC_IOCTL_MASTER EC_IOR(0x01, ec_ioctl_master_t) |
63 #define EC_IOCTL_MASTER EC_IOR(0x01, ec_ioctl_master_t) |
64 #define EC_IOCTL_SLAVE EC_IOWR(0x02, ec_ioctl_slave_t) |
64 #define EC_IOCTL_SLAVE EC_IOWR(0x02, ec_ioctl_slave_t) |
134 #define EC_IOCTL_VOE_READ_NOSYNC EC_IOW(0x44, ec_ioctl_voe_t) |
134 #define EC_IOCTL_VOE_READ_NOSYNC EC_IOW(0x44, ec_ioctl_voe_t) |
135 #define EC_IOCTL_VOE_WRITE EC_IOWR(0x45, ec_ioctl_voe_t) |
135 #define EC_IOCTL_VOE_WRITE EC_IOWR(0x45, ec_ioctl_voe_t) |
136 #define EC_IOCTL_VOE_EXEC EC_IOWR(0x46, ec_ioctl_voe_t) |
136 #define EC_IOCTL_VOE_EXEC EC_IOWR(0x46, ec_ioctl_voe_t) |
137 #define EC_IOCTL_VOE_DATA EC_IOWR(0x47, ec_ioctl_voe_t) |
137 #define EC_IOCTL_VOE_DATA EC_IOWR(0x47, ec_ioctl_voe_t) |
138 #define EC_IOCTL_SET_SEND_INTERVAL EC_IOW(0x48, size_t) |
138 #define EC_IOCTL_SET_SEND_INTERVAL EC_IOW(0x48, size_t) |
139 #define EC_IOCTL_MASTER_SC_STATE EC_IOR(0x47, ec_master_state_t) |
139 #define EC_IOCTL_MASTER_SC_STATE EC_IOR(0x49, ec_master_state_t) |
140 #define EC_IOCTL_SC_OVERLAPPING_IO EC_IOW(0x48, ec_ioctl_config_t) |
140 #define EC_IOCTL_SC_OVERLAPPING_IO EC_IOW(0x50, ec_ioctl_config_t) |
141 |
141 |
142 /*****************************************************************************/ |
142 /*****************************************************************************/ |
143 |
143 |
144 #define EC_IOCTL_STRING_SIZE 64 |
144 #define EC_IOCTL_STRING_SIZE 64 |
145 |
145 |