diff options
author | Jay Fenlason <fenlason@redhat.com> | 2009-03-05 13:08:40 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-03-24 15:56:49 -0400 |
commit | f8c2287c65f8f72000102fc058232669e4540bc4 (patch) | |
tree | a82393fbdd3a2b20f8e499537b10eb9e61dae941 /drivers/firewire/fw-transaction.h | |
parent | ba27e1f7bf220799cd3d7503f82bda71b8ebe8c5 (diff) |
firewire: implement asynchronous stream transmission
Allow userspace and other firewire drivers (fw-ipv4 I'm looking at
you!) to send Asynchronous Transmit Streams as described in 7.8.3 of
release 1.1 of the 1394 Open Host Controller Interface Specification.
Signed-off-by: Jay Fenlason <fenlason@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (tweaks)
Diffstat (limited to 'drivers/firewire/fw-transaction.h')
-rw-r--r-- | drivers/firewire/fw-transaction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h index 35d0a4bb6d5c..eed2e295eb3c 100644 --- a/drivers/firewire/fw-transaction.h +++ b/drivers/firewire/fw-transaction.h | |||
@@ -407,6 +407,10 @@ void fw_send_request(struct fw_card *card, struct fw_transaction *t, | |||
407 | int tcode, int destination_id, int generation, int speed, | 407 | int tcode, int destination_id, int generation, int speed, |
408 | unsigned long long offset, void *payload, size_t length, | 408 | unsigned long long offset, void *payload, size_t length, |
409 | fw_transaction_callback_t callback, void *callback_data); | 409 | fw_transaction_callback_t callback, void *callback_data); |
410 | void fw_send_stream_packet(struct fw_card *card, struct fw_packet *p, | ||
411 | int generation, int speed, int channel, int sy, int tag, | ||
412 | void *payload, size_t length, fw_packet_callback_t callback); | ||
413 | |||
410 | int fw_cancel_transaction(struct fw_card *card, | 414 | int fw_cancel_transaction(struct fw_card *card, |
411 | struct fw_transaction *transaction); | 415 | struct fw_transaction *transaction); |
412 | void fw_flush_transactions(struct fw_card *card); | 416 | void fw_flush_transactions(struct fw_card *card); |