summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/Config.in1
-rw-r--r--target/linux/config/Config.in.virtio37
2 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/Config.in b/target/linux/Config.in
index e4b81dd2f..f4ead4caf 100644
--- a/target/linux/Config.in
+++ b/target/linux/Config.in
@@ -25,3 +25,4 @@ source target/linux/config/Config.in.serial
source target/linux/config/Config.in.spi
source target/linux/config/Config.in.kvm
source target/linux/config/Config.in.debug
+source target/linux/config/Config.in.virtio
diff --git a/target/linux/config/Config.in.virtio b/target/linux/config/Config.in.virtio
new file mode 100644
index 000000000..51cf67d54
--- /dev/null
+++ b/target/linux/config/Config.in.virtio
@@ -0,0 +1,37 @@
+config ADK_KERNEL_VIRTIO
+ boolean
+
+config ADK_KERNEL_VIRTIO_PCI
+ boolean
+
+config ADK_KERNEL_VIRTIO_NET
+ boolean
+
+config ADK_KERNEL_VIRTIO_BLK
+ boolean
+
+menu "Virtio driver support"
+depends on !ADK_TARGET_QEMU_WITH_VIRTIO
+
+config ADK_KPACKAGE_KMOD_VIRTIO_NET
+ prompt "kmod-virtio-net.................... Virtio net driver"
+ tristate
+ select ADK_KERNEL_VIRTIO
+ select ADK_KERNEL_VIRTIO_PCI
+ depends on !ADK_KERNEL_VIRTIO_NET
+ default n
+ help
+ Enables support for Virtio Net driver.
+
+config ADK_KPACKAGE_KMOD_VIRTIO_BLK
+ prompt "kmod-virtio-block.................. Virtio block driver"
+ tristate
+ select ADK_KERNEL_VIRTIO
+ select ADK_KERNEL_VIRTIO_PCI
+ select ADK_KERNEL_BLK_DEV
+ depends on !ADK_KERNEL_VIRTIO_BLK
+ default n
+ help
+ Enables support for Virtio Block driver.
+
+endmenu