Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
+ get_info.card = client->device->card->index;
+
if (copy_to_user(arg, &get_info, sizeof get_info))
return -EFAULT;
if (copy_to_user(arg, &get_info, sizeof get_info))
return -EFAULT;
/* If non-zero, a fw_cdev_event_bus_reset struct will be
* copied here with the current state of the bus. */
__u64 bus_reset;
/* If non-zero, a fw_cdev_event_bus_reset struct will be
* copied here with the current state of the bus. */
__u64 bus_reset;
+
+ /* The index of the card this devices belongs to. */
+ __u32 card;
};
struct fw_cdev_send_request {
};
struct fw_cdev_send_request {