diff options
Diffstat (limited to 'drivers/firewire/fw-device-cdev.h')
-rw-r--r-- | drivers/firewire/fw-device-cdev.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/drivers/firewire/fw-device-cdev.h b/drivers/firewire/fw-device-cdev.h index 72befda989b..62f5f66ca10 100644 --- a/drivers/firewire/fw-device-cdev.h +++ b/drivers/firewire/fw-device-cdev.h @@ -130,10 +130,13 @@ union fw_cdev_event { #define FW_CDEV_IOC_DEALLOCATE _IO('#', 0x03) #define FW_CDEV_IOC_SEND_RESPONSE _IO('#', 0x04) #define FW_CDEV_IOC_INITIATE_BUS_RESET _IO('#', 0x05) -#define FW_CDEV_IOC_CREATE_ISO_CONTEXT _IO('#', 0x06) -#define FW_CDEV_IOC_QUEUE_ISO _IO('#', 0x07) -#define FW_CDEV_IOC_START_ISO _IO('#', 0x08) -#define FW_CDEV_IOC_STOP_ISO _IO('#', 0x09) +#define FW_CDEV_IOC_ADD_DESCRIPTOR _IO('#', 0x06) +#define FW_CDEV_IOC_REMOVE_DESCRIPTOR _IO('#', 0x07) + +#define FW_CDEV_IOC_CREATE_ISO_CONTEXT _IO('#', 0x08) +#define FW_CDEV_IOC_QUEUE_ISO _IO('#', 0x09) +#define FW_CDEV_IOC_START_ISO _IO('#', 0x0a) +#define FW_CDEV_IOC_STOP_ISO _IO('#', 0x0b) /* FW_CDEV_VERSION History * @@ -203,6 +206,18 @@ struct fw_cdev_initiate_bus_reset { __u32 type; }; +struct fw_cdev_add_descriptor { + __u32 immediate; + __u32 key; + __u64 data; + __u32 length; + __u32 handle; +}; + +struct fw_cdev_remove_descriptor { + __u32 handle; +}; + #define FW_CDEV_ISO_CONTEXT_TRANSMIT 0 #define FW_CDEV_ISO_CONTEXT_RECEIVE 1 |