summaryrefslogtreecommitdiffstats
path: root/drivers/net/caif/Makefile
diff options
context:
space:
mode:
authorErwan Yvin <erwan.yvin@stericsson.com>2013-03-20 13:52:24 +1030
committerRusty Russell <rusty@rustcorp.com.au>2013-03-20 14:06:06 +1030
commit0d2e1a2926b1839a4b74519e660739b2566c9386 (patch)
tree29f6397b0f544c60bfdbc8d9ad0aae5337fc7532 /drivers/net/caif/Makefile
parent3beee86a4b9374e38dba36b44e81f1423a0d6b54 (diff)
caif_virtio: Introduce caif over virtio
Add the CAIF Virtio shared memory driver for talking to a modem. This CAIF Link layer communicates to the modem over shared memory. It is implemented as a virtio_driver. The underlying virtio device is managed by the remoteproc framework. The Virtio queue is used for transmitting data to the modem, and the new vringh is used for receiving data. Genalloc is used for managing the shared memory used for TX data. The default dma-alloc-coherent allocator can only allocate whole pages, and this wastes too much shared memory. Flow control is implemented by stopping the TX-queues if the virtio queues go full or we run out of memory. Queued are reopened when queues are below the watermark. NAPI is used in RX path, and a dedicated tasklet is used for releasing TX buffers. Signed-off-by: Erwan Yvin <erwan.yvin@stericsson.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (minor fixes)
Diffstat (limited to 'drivers/net/caif/Makefile')
-rw-r--r--drivers/net/caif/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/caif/Makefile b/drivers/net/caif/Makefile
index 91dff861560..d9ee26a96c6 100644
--- a/drivers/net/caif/Makefile
+++ b/drivers/net/caif/Makefile
@@ -13,3 +13,6 @@ obj-$(CONFIG_CAIF_SHM) += caif_shm.o
# HSI interface
obj-$(CONFIG_CAIF_HSI) += caif_hsi.o
+
+# Virtio interface
+obj-$(CONFIG_CAIF_VIRTIO) += caif_virtio.o