summaryrefslogtreecommitdiff
path: root/drivers/firewire/fw-device-cdev.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-03-28 21:26:42 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-28 21:30:14 +0200
commit66dea3e5f69abfdfa46b091ea117e497758351e7 (patch)
tree5db4238ff230cdb86f5c977c5a8cf0e76d055310 /drivers/firewire/fw-device-cdev.h
parentda8ecffaed434a12930f652898f9e86d1c2abc3e (diff)
downloadlwn-66dea3e5f69abfdfa46b091ea117e497758351e7.tar.gz
lwn-66dea3e5f69abfdfa46b091ea117e497758351e7.zip
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.h23
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 {
#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