diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-02-16 17:34:50 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-09 16:03:03 -0500 |
commit | 21efb3cfc6ed49991638000f58bb23b838c76e25 (patch) | |
tree | 30b1b0ed02082b09fa844abf5888b4d3fbdadbe7 /drivers/firewire/fw-transaction.h | |
parent | e364cf4e0aa245ba2ce5942289e8a43935505e53 (diff) |
firewire: Configure channel and speed at context creation time.
We need the channel number as we queue up iso packets for transmission
so we can fill out the header correctly.
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h index 1bbcbb341f2f..22e45ccd7b1d 100644 --- a/drivers/firewire/fw-transaction.h +++ b/drivers/firewire/fw-transaction.h | |||
@@ -373,7 +373,8 @@ void | |||
373 | fw_iso_buffer_destroy(struct fw_iso_buffer *buffer, struct fw_card *card); | 373 | fw_iso_buffer_destroy(struct fw_iso_buffer *buffer, struct fw_card *card); |
374 | 374 | ||
375 | struct fw_iso_context * | 375 | struct fw_iso_context * |
376 | fw_iso_context_create(struct fw_card *card, int type, size_t header_size, | 376 | fw_iso_context_create(struct fw_card *card, int type, |
377 | int channel, int speed, size_t header_size, | ||
377 | fw_iso_callback_t callback, void *callback_data); | 378 | fw_iso_callback_t callback, void *callback_data); |
378 | 379 | ||
379 | void | 380 | void |
@@ -386,8 +387,7 @@ fw_iso_context_queue(struct fw_iso_context *ctx, | |||
386 | unsigned long payload); | 387 | unsigned long payload); |
387 | 388 | ||
388 | int | 389 | int |
389 | fw_iso_context_start(struct fw_iso_context *ctx, | 390 | fw_iso_context_start(struct fw_iso_context *ctx, int cycle); |
390 | int channel, int speed, int cycle); | ||
391 | 391 | ||
392 | int | 392 | int |
393 | fw_iso_context_stop(struct fw_iso_context *ctx); | 393 | fw_iso_context_stop(struct fw_iso_context *ctx); |