diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-03-28 15:26:42 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-28 15:30:14 -0400 |
commit | 66dea3e5f69abfdfa46b091ea117e497758351e7 (patch) | |
tree | 5db4238ff230cdb86f5c977c5a8cf0e76d055310 /drivers/firewire/fw-device-cdev.h | |
parent | da8ecffaed434a12930f652898f9e86d1c2abc3e (diff) |
firewire: Add ioctls to add and remove config rom descriptors.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (fixed whitespace)
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 72befda989ba..62f5f66ca101 100644 --- a/drivers/firewire/fw-device-cdev.h +++ b/drivers/firewire/fw-device-cdev.h | |||
@@ -130,10 +130,13 @@ union fw_cdev_event { | |||
130 | #define FW_CDEV_IOC_DEALLOCATE _IO('#', 0x03) | 130 | #define FW_CDEV_IOC_DEALLOCATE _IO('#', 0x03) |
131 | #define FW_CDEV_IOC_SEND_RESPONSE _IO('#', 0x04) | 131 | #define FW_CDEV_IOC_SEND_RESPONSE _IO('#', 0x04) |
132 | #define FW_CDEV_IOC_INITIATE_BUS_RESET _IO('#', 0x05) | 132 | #define FW_CDEV_IOC_INITIATE_BUS_RESET _IO('#', 0x05) |
133 | #define FW_CDEV_IOC_CREATE_ISO_CONTEXT _IO('#', 0x06) | 133 | #define FW_CDEV_IOC_ADD_DESCRIPTOR _IO('#', 0x06) |
134 | #define FW_CDEV_IOC_QUEUE_ISO _IO('#', 0x07) | 134 | #define FW_CDEV_IOC_REMOVE_DESCRIPTOR _IO('#', 0x07) |
135 | #define FW_CDEV_IOC_START_ISO _IO('#', 0x08) | 135 | |
136 | #define FW_CDEV_IOC_STOP_ISO _IO('#', 0x09) | 136 | #define FW_CDEV_IOC_CREATE_ISO_CONTEXT _IO('#', 0x08) |
137 | #define FW_CDEV_IOC_QUEUE_ISO _IO('#', 0x09) | ||
138 | #define FW_CDEV_IOC_START_ISO _IO('#', 0x0a) | ||
139 | #define FW_CDEV_IOC_STOP_ISO _IO('#', 0x0b) | ||
137 | 140 | ||
138 | /* FW_CDEV_VERSION History | 141 | /* FW_CDEV_VERSION History |
139 | * | 142 | * |
@@ -203,6 +206,18 @@ struct fw_cdev_initiate_bus_reset { | |||
203 | __u32 type; | 206 | __u32 type; |
204 | }; | 207 | }; |
205 | 208 | ||
209 | struct fw_cdev_add_descriptor { | ||
210 | __u32 immediate; | ||
211 | __u32 key; | ||
212 | __u64 data; | ||
213 | __u32 length; | ||
214 | __u32 handle; | ||
215 | }; | ||
216 | |||
217 | struct fw_cdev_remove_descriptor { | ||
218 | __u32 handle; | ||
219 | }; | ||
220 | |||
206 | #define FW_CDEV_ISO_CONTEXT_TRANSMIT 0 | 221 | #define FW_CDEV_ISO_CONTEXT_TRANSMIT 0 |
207 | #define FW_CDEV_ISO_CONTEXT_RECEIVE 1 | 222 | #define FW_CDEV_ISO_CONTEXT_RECEIVE 1 |
208 | 223 | ||