aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/conf
diff options
context:
space:
mode:
authorLeandro Lupori <luporl@FreeBSD.org>2020-01-16 11:33:15 +0000
committerLeandro Lupori <luporl@FreeBSD.org>2020-01-16 11:33:15 +0000
commitd4633a9e3c37455e0c0ddf76354dbf2160ea34c5 (patch)
tree7e27ca81d56de826fcb06fcbd597220a1248bb11 /sys/powerpc/conf
parent875cfc082d97ec0590baeac6b395c6b501b951cd (diff)
downloadsrc-d4633a9e3c37455e0c0ddf76354dbf2160ea34c5.tar.gz
src-d4633a9e3c37455e0c0ddf76354dbf2160ea34c5.zip
[PowerPC64] Enable virtio drivers
This enables virtio modules on PowerPC* target. On PowerPC64, drivers are also kernel builtin. QEMU currently needs to be patched to in order to work on LE hosts due to known issue affecting pre-1.0 (legacy) virtio drivers. The patch was submitted to QEMU mail list by @afscoelho_gmail.com, available at https://lists.nongnu.org/archive/html/qemu-devel/2020-01/msg01496.html Submitted by: Alfredo Dal'Ava Junior <alfredo.junior@eldorado.org.br> Reviewed by: luporl Differential Revision: https://reviews.freebsd.org/D22833
Notes
Notes: svn path=/head/; revision=356788
Diffstat (limited to 'sys/powerpc/conf')
-rw-r--r--sys/powerpc/conf/GENERIC649
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/powerpc/conf/GENERIC64 b/sys/powerpc/conf/GENERIC64
index cf732f6fcd44..012731854520 100644
--- a/sys/powerpc/conf/GENERIC64
+++ b/sys/powerpc/conf/GENERIC64
@@ -256,3 +256,12 @@ device netmap # netmap(4) support
options EVDEV_SUPPORT # evdev support in legacy drivers
device evdev # input event device support
device uinput # install /dev/uinput cdev
+
+# VirtIO support
+device virtio # Generic VirtIO bus (required)
+device virtio_pci # VirtIO PCI device
+device vtnet # VirtIO Ethernet device
+device virtio_blk # VirtIO Block device
+device virtio_scsi # VirtIO SCSI device
+device virtio_balloon # VirtIO Memory Balloon device
+