Re: [PATCH v2 1/5] virtio-pci: introduce legacy device module

From: Randy Dunlap
Date: Tue Sep 14 2021 - 18:38:00 EST


On 9/14/21 5:24 AM, Wu Zongyong wrote:
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index ce1b3f6ec325..b14768dc9e04 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -20,6 +20,15 @@ config VIRTIO_PCI_LIB
PCI device with possible vendor specific extensions. Any
module that selects this module must depend on PCI.
+config VIRTIO_PCI_LIB_LEGACY
+ tristate
+ help
+ Legacy PCI device (Virtio PCI Card 0.9.x Draft and older device)
+ implementation.
+ This modules implements the basic probe and control for devices

module

+ which are based on legacy PCI device. Any module that selects this
+ module must depend on PCI.
+


--
~Randy