From f319b6a02f12c3712eb64eee6a23584367cb3588 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Wed, 7 Mar 2007 12:12:49 -0500 Subject: firewire: Move async transmit to use the general context code. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Stefan Richter --- drivers/firewire/fw-transaction.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/firewire/fw-transaction.h') 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 { -- cgit v1.2.3