aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-device-cdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-device-cdev.h')
-rw-r--r--drivers/firewire/fw-device-cdev.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/drivers/firewire/fw-device-cdev.h b/drivers/firewire/fw-device-cdev.h
index 4f94471b8078..8a8b390d5996 100644
--- a/drivers/firewire/fw-device-cdev.h
+++ b/drivers/firewire/fw-device-cdev.h
@@ -108,10 +108,11 @@ struct fw_cdev_event_iso_interrupt {
108#define FW_CDEV_IOC_SEND_REQUEST _IO('#', 0x01) 108#define FW_CDEV_IOC_SEND_REQUEST _IO('#', 0x01)
109#define FW_CDEV_IOC_ALLOCATE _IO('#', 0x02) 109#define FW_CDEV_IOC_ALLOCATE _IO('#', 0x02)
110#define FW_CDEV_IOC_SEND_RESPONSE _IO('#', 0x03) 110#define FW_CDEV_IOC_SEND_RESPONSE _IO('#', 0x03)
111#define FW_CDEV_IOC_CREATE_ISO_CONTEXT _IO('#', 0x04) 111#define FW_CDEV_IOC_INITIATE_BUS_RESET _IO('#', 0x04)
112#define FW_CDEV_IOC_QUEUE_ISO _IO('#', 0x05) 112#define FW_CDEV_IOC_CREATE_ISO_CONTEXT _IO('#', 0x05)
113#define FW_CDEV_IOC_START_ISO _IO('#', 0x06) 113#define FW_CDEV_IOC_QUEUE_ISO _IO('#', 0x06)
114#define FW_CDEV_IOC_STOP_ISO _IO('#', 0x07) 114#define FW_CDEV_IOC_START_ISO _IO('#', 0x07)
115#define FW_CDEV_IOC_STOP_ISO _IO('#', 0x08)
115 116
116struct fw_cdev_get_config_rom { 117struct fw_cdev_get_config_rom {
117 __u32 length; 118 __u32 length;
@@ -139,6 +140,13 @@ struct fw_cdev_allocate {
139 __u32 length; 140 __u32 length;
140}; 141};
141 142
143#define FW_CDEV_LONG_RESET 0
144#define FW_CDEV_SHORT_RESET 1
145
146struct fw_cdev_initiate_bus_reset {
147 __u32 type;
148};
149
142#define FW_CDEV_ISO_CONTEXT_TRANSMIT 0 150#define FW_CDEV_ISO_CONTEXT_TRANSMIT 0
143#define FW_CDEV_ISO_CONTEXT_RECEIVE 1 151#define FW_CDEV_ISO_CONTEXT_RECEIVE 1
144 152