diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2008-12-20 16:57:53 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-07 10:00:21 -0800 |
commit | a8ebf98f541463107bb9544a1b611981dc2477e7 (patch) | |
tree | aae6235a1c14ecc2a212f020c9168507d630a23a /drivers/net/wimax/i2400m/sdio-debug-levels.h | |
parent | 795038107b0078ee5ad3ad33327fe1c3520f6bf2 (diff) | |
download | op-kernel-dev-a8ebf98f541463107bb9544a1b611981dc2477e7.zip op-kernel-dev-a8ebf98f541463107bb9544a1b611981dc2477e7.tar.gz |
i2400m/USB: TX and RX path backends
Implements the backend so that the generic driver can TX/RX to/from
the USB device.
TX is implemented with a kthread sitting in a never-ending loop that
when kicked by the generic driver's TX code will pull data from the TX
FIFO and send it to the device until it drains it. Then it goes back
sleep, waiting for another kick.
RX is implemented in a similar fashion, but reads are kicked in by the
device notifying in the interrupt endpoint that data is ready. Device
reset notifications are also sent via the notification endpoint.
We need a thread contexts to run USB autopm functions (blocking) and
to process the received data (can get to be heavy in processing
time).
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/wimax/i2400m/sdio-debug-levels.h')
0 files changed, 0 insertions, 0 deletions