firewire: Rework async receive DMA.
authorKristian Høgsberg <krh@redhat.com>
Tue, 6 Feb 2007 19:49:30 +0000 (14:49 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:02:50 +0000 (22:02 +0100)
commit32b46093a076986fa3c6e1dd484791624edf4585
treef4d7a89c836549b4ce57f4b55720096f8840cd15
parent641f8791f031d6133e5c3e9ce036b3e942416e9d
firewire: Rework async receive DMA.

The old DMA program for receiving async packets stops DMA while
processing received packets and only expects one packet per
interrupt.  Stopping DMA can silently drop packets and we need to
handle multiple received packets per interrupt.

This new version keeps DMA running at all times and just append new
pages as buffers fill up, and supports multiple packets per interrupt.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-ohci.c
drivers/firewire/fw-transaction.c