aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-iso.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-02-16 17:34:40 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 16:02:58 -0500
commit295e3feb92e5073ec32a3c626302d4b92c4c8a95 (patch)
tree58c581080526c4b27401d3c2f4e52595d78cc4e8 /drivers/firewire/fw-iso.c
parent30200739e612932739cc34baf588b39bacc2f427 (diff)
firewire: Implement basic isochronous receive functionality.
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-iso.c')
-rw-r--r--drivers/firewire/fw-iso.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/firewire/fw-iso.c b/drivers/firewire/fw-iso.c
index 4e7ba8672929..4c6dc99a1ff8 100644
--- a/drivers/firewire/fw-iso.c
+++ b/drivers/firewire/fw-iso.c
@@ -105,9 +105,9 @@ void fw_iso_buffer_destroy(struct fw_iso_buffer *buffer,
105 buffer->pages = NULL; 105 buffer->pages = NULL;
106} 106}
107 107
108struct fw_iso_context *fw_iso_context_create(struct fw_card *card, int type, 108struct fw_iso_context *
109 fw_iso_callback_t callback, 109fw_iso_context_create(struct fw_card *card, int type, size_t header_size,
110 void *callback_data) 110 fw_iso_callback_t callback, void *callback_data)
111{ 111{
112 struct fw_iso_context *ctx; 112 struct fw_iso_context *ctx;
113 113
@@ -117,6 +117,7 @@ struct fw_iso_context *fw_iso_context_create(struct fw_card *card, int type,
117 117
118 ctx->card = card; 118 ctx->card = card;
119 ctx->type = type; 119 ctx->type = type;
120 ctx->header_size = header_size;
120 ctx->callback = callback; 121 ctx->callback = callback;
121 ctx->callback_data = callback_data; 122 ctx->callback_data = callback_data;
122 123