aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-transaction.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@localhost.localdomain>2007-01-26 00:37:57 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 16:02:45 -0500
commit2639a6fb268e1f2a7700fe3d31cbca9b39aa3ad9 (patch)
treed600dd5a4e1c66d4948bef268c11106197517e66 /drivers/firewire/fw-transaction.h
parent748086eb53cc5f467604c9b46ab48dc3cb771c89 (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.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h
index df652452bdb5..903235b142f2 100644
--- a/drivers/firewire/fw-transaction.h
+++ b/drivers/firewire/fw-transaction.h
@@ -180,7 +180,7 @@ struct fw_packet {
180 * must never block. 180 * must never block.
181 */ 181 */
182 fw_packet_callback_t callback; 182 fw_packet_callback_t callback;
183 int status; 183 int ack;
184 struct list_head link; 184 struct list_head link;
185}; 185};
186 186
@@ -415,14 +415,9 @@ fw_core_handle_bus_reset(struct fw_card *card,
415 int node_id, int generation, 415 int node_id, int generation,
416 int self_id_count, u32 *self_ids); 416 int self_id_count, u32 *self_ids);
417void 417void
418fw_core_handle_request(struct fw_card *card, 418fw_core_handle_request(struct fw_card *card, struct fw_packet *request);
419 int speed, int ack, int timestamp,
420 int generation,
421 u32 length, u32 *payload);
422void
423fw_core_handle_response(struct fw_card *card,
424 int speed, int ack, int timestamp,
425 u32 length, u32 *payload);
426 419
420void
421fw_core_handle_response(struct fw_card *card, struct fw_packet *packet);
427 422
428#endif /* __fw_transaction_h */ 423#endif /* __fw_transaction_h */