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.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/drivers/firewire/fw-device-cdev.h b/drivers/firewire/fw-device-cdev.h
index 739f54fe08cf..4f94471b8078 100644
--- a/drivers/firewire/fw-device-cdev.h
+++ b/drivers/firewire/fw-device-cdev.h
@@ -58,15 +58,26 @@
58#define SCODE_1600 0x4 58#define SCODE_1600 0x4
59#define SCODE_3200 0x5 59#define SCODE_3200 0x5
60 60
61#define FW_CDEV_EVENT_RESPONSE 0x00 61#define FW_CDEV_EVENT_BUS_RESET 0x00
62#define FW_CDEV_EVENT_REQUEST 0x01 62#define FW_CDEV_EVENT_RESPONSE 0x01
63#define FW_CDEV_EVENT_ISO_INTERRUPT 0x02 63#define FW_CDEV_EVENT_REQUEST 0x02
64#define FW_CDEV_EVENT_ISO_INTERRUPT 0x03
64 65
65/* The 'closure' fields are for user space to use. Data passed in the 66/* The 'closure' fields are for user space to use. Data passed in the
66 * 'closure' field for a request will be returned in the corresponding 67 * 'closure' field for a request will be returned in the corresponding
67 * event. It's a 64-bit type so that it's a fixed size type big 68 * event. It's a 64-bit type so that it's a fixed size type big
68 * enough to hold a pointer on all platforms. */ 69 * enough to hold a pointer on all platforms. */
69 70
71struct fw_cdev_event_bus_reset {
72 __u32 type;
73 __u32 node_id;
74 __u32 local_node_id;
75 __u32 bm_node_id;
76 __u32 irm_node_id;
77 __u32 root_node_id;
78 __u32 generation;
79};
80
70struct fw_cdev_event_response { 81struct fw_cdev_event_response {
71 __u32 type; 82 __u32 type;
72 __u32 rcode; 83 __u32 rcode;