Re: [PATCH] pci: hotplug: add info to Kconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[cc += Mika]

On Sun, Nov 13, 2022 at 06:55:25PM +1100, Albert Zhou wrote:
> Add informative comment that Thunderbolt requires PCI Hotplug.
> ---
>  drivers/pci/hotplug/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/hotplug/Kconfig b/drivers/pci/hotplug/Kconfig
> index 840a84bb5ee2..a6dccb958254 100644
> --- a/drivers/pci/hotplug/Kconfig
> +++ b/drivers/pci/hotplug/Kconfig
> @@ -9,7 +9,7 @@ menuconfig HOTPLUG_PCI
>  	help
>  	  Say Y here if you have a motherboard with a PCI Hotplug controller.
>  	  This allows you to add and remove PCI cards while the machine is
> -	  powered up and running.
> +	  powered up and running. Thunderbolt requires PCI Hotplug.
>  
>  	  When in doubt, say N.

You probably want to add a "default y if USB4" line to the config entries
of HOTPLUG_PCI, HOTPLUG_PCI_PCIE and PCIEPORTBUS in addition to
documenting the dependency.

Thanks,

Lukas



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux