aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-transaction.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-03-07 12:12:49 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 16:03:11 -0500
commitf319b6a02f12c3712eb64eee6a23584367cb3588 (patch)
tree8f4fbfac565193a4bf31c9588f495b1429e6ef4b /drivers/firewire/fw-transaction.h
parent2603bf219e9bef3396b96b65326de7db27958c95 (diff)
firewire: Move async transmit to use the general context code.
The old async transmit context handling was starting and stopping DMA for every packet transmission. This could cause silently failing packet transmission, if the DMA was reprogrammed too close to being stopped. The general context code keeps DMA running at all times and fixes this problem. It's also a nice cleanup. 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, 1 insertions, 2 deletions
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h
index b0d057533fb0..e7301b83f91e 100644
--- a/drivers/firewire/fw-transaction.h
+++ b/drivers/firewire/fw-transaction.h
@@ -203,8 +203,6 @@ struct fw_packet {
203 size_t payload_length; 203 size_t payload_length;
204 u32 timestamp; 204 u32 timestamp;
205 205
206 dma_addr_t payload_bus;
207
208 /* This callback is called when the packet transmission has 206 /* This callback is called when the packet transmission has
209 * completed; for successful transmission, the status code is 207 * completed; for successful transmission, the status code is
210 * the ack received from the destination, otherwise it's a 208 * the ack received from the destination, otherwise it's a
@@ -215,6 +213,7 @@ struct fw_packet {
215 fw_packet_callback_t callback; 213 fw_packet_callback_t callback;
216 int ack; 214 int ack;
217 struct list_head link; 215 struct list_head link;
216 void *driver_data;
218}; 217};
219 218
220struct fw_transaction { 219struct fw_transaction {