i2400m/SDIO: TX and RX path backends
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Sun, 21 Dec 2008 00:57:57 +0000 (16:57 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 18:00:22 +0000 (10:00 -0800)
commit514ec71f7289c942f801bdbd309428c470bfc071
tree854d76ed2b8e9eebc8d2eff0688790cce88df58b
parent020bb6f30b636d563d4268116107d592550ddd0c
i2400m/SDIO: TX and RX path backends

Implements the backend so that the generic driver can TX/RX to/from
the SDIO device.

For RX, when data is ready the SDIO IRQ is fired and that will
allocate an skb, put all the data there and then pass it to the
generic driver RX code for processing and delivery.

TX, when kicked by the generic driver, will schedule work on a
driver-specific workqueue that pulls data from the TX FIFO and sends
it to the device until it drains it.

Thread contexts are needed as SDIO functions are blocking.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wimax/i2400m/sdio-rx.c [new file with mode: 0644]
drivers/net/wimax/i2400m/sdio-tx.c [new file with mode: 0644]