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

- From: Randy Dunlap \<rdunlap@infradead.org\>
- Date: 2021-09-14 22:38:00 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2021/09/1508724
- Thread: https://ratatoskr.run/lkml/2021/09/1500183/t.md

```text
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

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
```
