virtio: pci: Allow exclusion of legacy driver
authorAndrew Scull <ascull@google.com>
Thu, 21 Apr 2022 16:10:59 +0000 (16:10 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 3 May 2022 19:50:45 +0000 (15:50 -0400)
commit30471d5351cf397d2a080fdcb747c7eb354bfab8
tree6e94399446351379b63df5b34b4bcef296e31f0e
parentf8e7670f8b2a5ba8f25682eee56039fa5f0a20ca
virtio: pci: Allow exclusion of legacy driver

Add a new config to control whether the driver for legacy virtio PCI
devices is included in the build. VIRTIO_PCI_LEGACY is included by
default when VIRTIO_PCI is selected, but it can also be independently
toggled.

Signed-off-by: Andrew Scull <ascull@google.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/virtio/Kconfig
drivers/virtio/Makefile