summaryrefslogtreecommitdiffstats
path: root/sys/amd64/conf
diff options
context:
space:
mode:
authorbryanv <bryanv@FreeBSD.org>2013-03-06 07:17:53 +0000
committerbryanv <bryanv@FreeBSD.org>2013-03-06 07:17:53 +0000
commit840f21fc4922b144ba355c33e2fbab7970d7a18f (patch)
tree9d311925b750fef51545eea98f28906e3997d15c /sys/amd64/conf
parentf5b9af89495d41ff3e3095a9dae2f05d8504e31c (diff)
downloadFreeBSD-src-840f21fc4922b144ba355c33e2fbab7970d7a18f.zip
FreeBSD-src-840f21fc4922b144ba355c33e2fbab7970d7a18f.tar.gz
Remove the virtio dependency entry for the VirtIO device drivers. This
will prevent the kernel from linking if the device driver are included without the virtio module. Remove pci and scbus for the same reason. Also explain the relationship and necessity of the virtio and virtio_pci modules. Currently in FreeBSD, we only support VirtIO PCI, but it could be replaced with a different interface (like MMIO) and the device (network, block, etc) will still function. Requested by: luigi Approved by: grehan (mentor) MFC after: 3 days
Diffstat (limited to 'sys/amd64/conf')
-rw-r--r--sys/amd64/conf/NOTES7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/amd64/conf/NOTES b/sys/amd64/conf/NOTES
index a4371f7..7a41464 100644
--- a/sys/amd64/conf/NOTES
+++ b/sys/amd64/conf/NOTES
@@ -442,6 +442,13 @@ options SAFE_RNDTEST # enable rndtest support
#
# VirtIO support
+#
+# The virtio entry provides a generic bus for use by the device drivers.
+# It must be combined with an interface that communicates with the host.
+# Multiple such interfaces defined by the VirtIO specification. FreeBSD
+# only has support for PCI. Therefore, virtio_pci must be statically
+# compiled in or loaded as a module for the device drivers to function.
+#
device virtio # Generic VirtIO bus (required)
device virtio_pci # VirtIO PCI Interface
device vtnet # VirtIO Ethernet device
OpenPOWER on IntegriCloud