summaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-transaction.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-03-07 18:12:49 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 22:03:11 +0100
commitf319b6a02f12c3712eb64eee6a23584367cb3588 (patch)
tree8f4fbfac565193a4bf31c9588f495b1429e6ef4b /drivers/firewire/fw-transaction.h
parentfirewire: Use only a wait queue and terminate poll and read on device removal. (diff)
downloadlinux-f319b6a02f12c3712eb64eee6a23584367cb3588.tar.xz
linux-f319b6a02f12c3712eb64eee6a23584367cb3588.zip
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 {
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 {