aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-transaction.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-02-16 17:34:46 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 16:03:01 -0500
commitd2746dc192e8b9446ea1cb843e94c30f177b7e54 (patch)
treefffe9d5bd448e6542407c88f56c1e02a03da248f /drivers/firewire/fw-transaction.h
parent1e1d196bf5d9258f9583a05c41c1c351ffcdeac2 (diff)
firewire: Use a buffer fill descriptor for receive when header size is 0.
When the DMA is setup to not strip any headers, we need to use the buffer fill descriptor instead of the dual buffer, since the dual buffer descriptor must strip a non-zero number of header quadlets. 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h
index 7942e914b8f1..1bbcbb341f2f 100644
--- a/drivers/firewire/fw-transaction.h
+++ b/drivers/firewire/fw-transaction.h
@@ -425,7 +425,8 @@ struct fw_card_driver {
425 int node_id, int generation); 425 int node_id, int generation);
426 426
427 struct fw_iso_context * 427 struct fw_iso_context *
428 (*allocate_iso_context)(struct fw_card *card, int type); 428 (*allocate_iso_context)(struct fw_card *card,
429 int type, size_t header_size);
429 void (*free_iso_context)(struct fw_iso_context *ctx); 430 void (*free_iso_context)(struct fw_iso_context *ctx);
430 431
431 int (*start_iso)(struct fw_iso_context *ctx, s32 cycle); 432 int (*start_iso)(struct fw_iso_context *ctx, s32 cycle);