diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-03-07 12:12:41 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-09 22:03:08 +0100 |
commit | 97bd9efa5a4d8a70b3bafe0d1e3e1a814fdac5bc (patch) | |
tree | 7f405323e9b6ccd690b7673cc4495d35e5926a06 /drivers/firewire/fw-device-cdev.h | |
parent | 1da0c93b31bb8f374a22f4e20dab02fd79f6c7e6 (diff) | |
download | lwn-97bd9efa5a4d8a70b3bafe0d1e3e1a814fdac5bc.tar.gz lwn-97bd9efa5a4d8a70b3bafe0d1e3e1a814fdac5bc.zip |
firewire: Add a bus reset event type for fw-device-cdev.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-device-cdev.h')
-rw-r--r-- | drivers/firewire/fw-device-cdev.h | 17 |
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 @@ #define SCODE_1600 0x4 #define SCODE_3200 0x5 -#define FW_CDEV_EVENT_RESPONSE 0x00 -#define FW_CDEV_EVENT_REQUEST 0x01 -#define FW_CDEV_EVENT_ISO_INTERRUPT 0x02 +#define FW_CDEV_EVENT_BUS_RESET 0x00 +#define FW_CDEV_EVENT_RESPONSE 0x01 +#define FW_CDEV_EVENT_REQUEST 0x02 +#define FW_CDEV_EVENT_ISO_INTERRUPT 0x03 /* The 'closure' fields are for user space to use. Data passed in the * 'closure' field for a request will be returned in the corresponding * event. It's a 64-bit type so that it's a fixed size type big * enough to hold a pointer on all platforms. */ +struct fw_cdev_event_bus_reset { + __u32 type; + __u32 node_id; + __u32 local_node_id; + __u32 bm_node_id; + __u32 irm_node_id; + __u32 root_node_id; + __u32 generation; +}; + struct fw_cdev_event_response { __u32 type; __u32 rcode; |