master/ioctl.h
branchstable-1.5
changeset 2435 4151f6f4c3e1
parent 2434 fa52128477f6
child 2438 9c3e629a220c
equal deleted inserted replaced
2434:fa52128477f6 2435:4151f6f4c3e1
    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 19
    59 #define EC_IOCTL_VERSION_MAGIC 20
    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)
   526     // outputs
   526     // outputs
   527     uint16_t index;
   527     uint16_t index;
   528     uint8_t subindex;
   528     uint8_t subindex;
   529     uint32_t size;
   529     uint32_t size;
   530     uint8_t data[EC_MAX_SDO_DATA_SIZE];
   530     uint8_t data[EC_MAX_SDO_DATA_SIZE];
       
   531     uint8_t complete_access;
   531 } ec_ioctl_config_sdo_t;
   532 } ec_ioctl_config_sdo_t;
   532 
   533 
   533 /*****************************************************************************/
   534 /*****************************************************************************/
   534 
   535 
   535 /** Maximum size for displayed IDN data.
   536 /** Maximum size for displayed IDN data.