diff mbox series

pci: hotplug: add info to Kconfig

Message ID 20221113075525.2557-1-albert.zhou.50@gmail.com (mailing list archive)
State Superseded
Headers show
Series pci: hotplug: add info to Kconfig | expand

Commit Message

Albert Zhou Nov. 13, 2022, 7:55 a.m. UTC
Add informative comment that Thunderbolt requires PCI Hotplug.
---
 drivers/pci/hotplug/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: fef7fd48922d11b22620e19f9c9101647bfe943d

Comments

Lukas Wunner Nov. 13, 2022, 8:35 a.m. UTC | #1
[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
diff mbox series

Patch

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.