diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-03-27 01:43:41 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-28 21:30:15 +0200 |
commit | 3964a4496eaa4cb84772e8dfc6c3a72ec4ddca7a (patch) | |
tree | adf0102386cc1d55712b41c3df2aefa4bceaba65 /drivers/firewire/fw-device-cdev.h | |
parent | 66dea3e5f69abfdfa46b091ea117e497758351e7 (diff) | |
download | lwn-3964a4496eaa4cb84772e8dfc6c3a72ec4ddca7a.tar.gz lwn-3964a4496eaa4cb84772e8dfc6c3a72ec4ddca7a.zip |
firewire: Generalize resource tracking for cdev implementation.
Generalize the way we keep track of the various resources and
assign a unique handle to each resource.
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 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/firewire/fw-device-cdev.h b/drivers/firewire/fw-device-cdev.h index 62f5f66ca101..a6340bf306fb 100644 --- a/drivers/firewire/fw-device-cdev.h +++ b/drivers/firewire/fw-device-cdev.h @@ -103,7 +103,7 @@ struct fw_cdev_event_request { __u32 type; __u32 tcode; __u64 offset; - __u32 serial; + __u32 handle; __u32 length; __u32 data[0]; }; @@ -186,17 +186,18 @@ struct fw_cdev_send_response { __u32 rcode; __u32 length; __u64 data; - __u32 serial; + __u32 handle; }; struct fw_cdev_allocate { __u64 offset; __u64 closure; __u32 length; + __u32 handle; }; struct fw_cdev_deallocate { - __u64 offset; + __u32 handle; }; #define FW_CDEV_LONG_RESET 0 |