diff options
author | Kristian Høgsberg <krh@localhost.localdomain> | 2007-01-26 00:37:57 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-09 22:02:45 +0100 |
commit | 2639a6fb268e1f2a7700fe3d31cbca9b39aa3ad9 (patch) | |
tree | d600dd5a4e1c66d4948bef268c11106197517e66 /drivers/firewire/fw-transaction.h | |
parent | 748086eb53cc5f467604c9b46ab48dc3cb771c89 (diff) |
firewire: Use struct fw_packet for incoming packets too in controller interface.
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-transaction.h')
-rw-r--r-- | drivers/firewire/fw-transaction.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h index df652452bdb..903235b142f 100644 --- a/drivers/firewire/fw-transaction.h +++ b/drivers/firewire/fw-transaction.h @@ -180,7 +180,7 @@ struct fw_packet { * must never block. */ fw_packet_callback_t callback; - int status; + int ack; struct list_head link; }; @@ -415,14 +415,9 @@ fw_core_handle_bus_reset(struct fw_card *card, int node_id, int generation, int self_id_count, u32 *self_ids); void -fw_core_handle_request(struct fw_card *card, - int speed, int ack, int timestamp, - int generation, - u32 length, u32 *payload); -void -fw_core_handle_response(struct fw_card *card, - int speed, int ack, int timestamp, - u32 length, u32 *payload); +fw_core_handle_request(struct fw_card *card, struct fw_packet *request); +void +fw_core_handle_response(struct fw_card *card, struct fw_packet *packet); #endif /* __fw_transaction_h */ |