diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-03-07 12:12:49 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-09 22:03:11 +0100 |
commit | f319b6a02f12c3712eb64eee6a23584367cb3588 (patch) | |
tree | 8f4fbfac565193a4bf31c9588f495b1429e6ef4b /drivers/firewire/fw-transaction.h | |
parent | 2603bf219e9bef3396b96b65326de7db27958c95 (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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h index b0d057533fb..e7301b83f91 100644 --- a/drivers/firewire/fw-transaction.h +++ b/drivers/firewire/fw-transaction.h @@ -203,8 +203,6 @@ struct fw_packet { size_t payload_length; u32 timestamp; - dma_addr_t payload_bus; - /* This callback is called when the packet transmission has * completed; for successful transmission, the status code is * the ack received from the destination, otherwise it's a @@ -215,6 +213,7 @@ struct fw_packet { fw_packet_callback_t callback; int ack; struct list_head link; + void *driver_data; }; struct fw_transaction { |