Holger Schurig 7919b89c82 libertas: convert libertas driver to use an event/cmdresp queue
This patch (co-developed by Dan Williams and Holger Schurig) uses a kfifo
object for events and a swapping buffer scheme for the command response to
preserve the zero-copy semantics of the CF driver and keep memory usage low.
The main thread should only ever touch the buffer indexed by priv->resp_idx,
while the interface code is free to write to the second buffer, then swap
priv->resp_idx under the driver spinlock.  The firmware specs only permit
one in-flight command, so there will only ever be one command response to
process at a time.

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-04-16 15:59:56 -04:00
..
2008-04-02 15:28:19 -07:00
2008-02-05 09:44:23 -08:00
2008-03-30 14:20:24 -07:00
2008-03-23 20:28:20 +01:00
2008-03-30 14:18:41 -07:00
2008-03-15 19:17:12 -07:00
2008-02-13 16:21:19 -08:00
2008-03-03 10:47:13 -08:00
2008-03-19 18:53:37 -07:00
2008-03-28 12:32:22 -05:00
2008-02-26 14:12:09 +09:00
2008-03-18 01:22:10 -04:00
2008-03-30 14:20:23 -07:00
2008-03-04 16:35:12 -08:00