diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-03-07 12:12:53 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-09 16:03:13 -0500 |
commit | 97e352753820c62fca6d46723e0591e1ff6a3b22 (patch) | |
tree | ef00cf3472f6e746d8d2347760188a8abc57588b /drivers | |
parent | e7533505fed97379b03538cf0ff2df0dc853298f (diff) |
firewire: Add generation field to send_request ioctl struct.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/firewire/fw-device-cdev.c | 2 | ||||
-rw-r--r-- | drivers/firewire/fw-device-cdev.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/firewire/fw-device-cdev.c b/drivers/firewire/fw-device-cdev.c index 68428d013d8d..7b0efccf78f1 100644 --- a/drivers/firewire/fw-device-cdev.c +++ b/drivers/firewire/fw-device-cdev.c | |||
@@ -359,7 +359,7 @@ static ssize_t ioctl_send_request(struct client *client, void __user *arg) | |||
359 | fw_send_request(device->card, &response->transaction, | 359 | fw_send_request(device->card, &response->transaction, |
360 | request.tcode & 0x1f, | 360 | request.tcode & 0x1f, |
361 | device->node->node_id, | 361 | device->node->node_id, |
362 | device->card->generation, | 362 | request.generation, |
363 | device->node->max_speed, | 363 | device->node->max_speed, |
364 | request.offset, | 364 | request.offset, |
365 | response->response.data, request.length, | 365 | response->response.data, request.length, |
diff --git a/drivers/firewire/fw-device-cdev.h b/drivers/firewire/fw-device-cdev.h index 0cc4b082257f..f1c4b74eb09b 100644 --- a/drivers/firewire/fw-device-cdev.h +++ b/drivers/firewire/fw-device-cdev.h | |||
@@ -151,6 +151,7 @@ struct fw_cdev_send_request { | |||
151 | __u64 offset; | 151 | __u64 offset; |
152 | __u64 closure; | 152 | __u64 closure; |
153 | __u64 data; | 153 | __u64 data; |
154 | __u32 generation; | ||
154 | }; | 155 | }; |
155 | 156 | ||
156 | struct fw_cdev_send_response { | 157 | struct fw_cdev_send_response { |