From 97e352753820c62fca6d46723e0591e1ff6a3b22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 7 Mar 2007 12:12:53 -0500 Subject: [PATCH] firewire: Add generation field to send_request ioctl struct. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Kristian Høgsberg Signed-off-by: Stefan Richter --- drivers/firewire/fw-device-cdev.c | 2 +- drivers/firewire/fw-device-cdev.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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) fw_send_request(device->card, &response->transaction, request.tcode & 0x1f, device->node->node_id, - device->card->generation, + request.generation, device->node->max_speed, request.offset, 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 { __u64 offset; __u64 closure; __u64 data; + __u32 generation; }; struct fw_cdev_send_response { -- 2.30.2