summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-09-28 07:35:15 +0200
committerRusty Russell <rusty@rustcorp.com.au>2012-09-28 07:35:15 +0200
commit387daf1716da579fc1d198414d890967cd624a5b (patch)
treeb71404a6c541061fa1e08d015c0c8a7f0ab80d76
parentvirtio: support reserved vqs (diff)
downloadlinux-387daf1716da579fc1d198414d890967cd624a5b.tar.xz
linux-387daf1716da579fc1d198414d890967cd624a5b.zip
virtio: add help to CONFIG_VIRTIO option.
Trying to enable a virtio driver (eg CONFIG_VIRTIO_BLK) is painful because it depends on CONFIG_VIRTIO. CONFIG_VIRTIO doesn't tell you how to turn it on (it's selected from anything which provides a virtio bus). This patch at least adds some documentation, visible in menuconfig, as a hint. Reported-by: Kent Overstreet <koverstreet@google.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--drivers/virtio/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index 8e048518eeb3..eabc2a0cd989 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -1,8 +1,10 @@
-# Virtio always gets selected by whoever wants it.
config VIRTIO
tristate
+ ---help---
+ This option is selected by any driver which implements the virtio
+ bus, such as CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_MMIO, CONFIG_LGUEST,
+ CONFIG_RPMSG or CONFIG_S390_GUEST.
-# Similarly the virtio ring implementation.
config VIRTIO_RING
tristate
depends on VIRTIO