Permalink
Browse files

kernel/virtio: Make it compilable into the kernel.

Submitted-by: vsrinivas
  • Loading branch information...
1 parent dcbcbc8 commit c3a6e36f299b8c8258476a96a8c7dff7b19b5eff Sascha Wildner committed Jan 6, 2013
Showing with 34 additions and 0 deletions.
  1. +10 −0 sys/conf/files
  2. +5 −0 sys/config/GENERIC
  3. +7 −0 sys/config/LINT
  4. +7 −0 sys/config/LINT64
  5. +5 −0 sys/config/X86_64_GENERIC
View
10 sys/conf/files
@@ -2246,3 +2246,13 @@ bus/u4b/quirk/usb_quirk.c optional usb4bsd
#
bus/u4b/audio/uaudio.c optional snd_uaudio usb4bsd
#bus/u4b/audio/uaudio_pcm.c optional snd_uaudio usb4bsd
+
+#
+# virtio support
+#
+dev/virtual/virtio/block/virtio_blk.c optional virtio_blk virtio
+dev/virtual/virtio/pci/virtio_pci.c optional virtio_pci virtio
+dev/virtual/virtio/virtio/virtio.c optional virtio
+dev/virtual/virtio/virtio/virtio_bus_if.m optional virtio
+dev/virtual/virtio/virtio/virtio_if.m optional virtio
+dev/virtual/virtio/virtio/virtqueue.c optional virtio
View
5 sys/config/GENERIC
@@ -162,6 +162,11 @@ device mfip # LSI MegaRAID SAS passthrough, requires CAM
device pst # Promise Supertrack
device twe # 3ware Escalade 7000/8000's
+# VirtIO support
+device virtio # VirtIO core
+device virtio_blk # VirtIO disk driver
+device virtio_pci # VirtIO transport over PCI bus
+
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1
View
7 sys/config/LINT
@@ -2451,6 +2451,13 @@ device ichwd # Intel ICH watchdog interrupt timer
device tbridge # regression testing
#
+# VirtIO support
+#
+device virtio # VirtIO core
+device virtio_blk # VirtIO disk driver
+device virtio_pci # VirtIO transport over PCI bus
+
+#
# Embedded system options:
#
# An embedded system might want to run something other than init.
View
7 sys/config/LINT64
@@ -2231,6 +2231,13 @@ device ichwd # Intel ICH watchdog interrupt timer
device tbridge # regression testing
#
+# Virtio support
+#
+device virtio
+device virtio_blk
+device virtio_pci
+
+#
# Embedded system options:
#
# An embedded system might want to run something other than init.
View
5 sys/config/X86_64_GENERIC
@@ -149,6 +149,11 @@ device mfi # LSI MegaRAID SAS
device mfip # LSI MegaRAID SAS passthrough, requires CAM
device twe # 3ware Escalade 7000/8000's
+# VirtIO support
+device virtio # VirtIO core
+device virtio_blk # VirtIO disk driver
+device virtio_pci # VirtIO transport over PCI bus
+
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1

0 comments on commit c3a6e36

Please sign in to comment.