Skip to contentSkip to conversation

pci: hotplug: add info to Kconfig

PATCH Superseded Albert Zhou 2 participants 2 messages Nov 13, 2022 PCI

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci: hotplug: add info to Kconfig

Add informative comment that Thunderbolt requires PCI Hotplug.

---
 drivers/pci/hotplug/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/hotplug/Kconfig +1 -1
index 840a84bb5ee2..a6dccb958254 100644
@@ -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.
 

base-commit: fef7fd48922d11b22620e19f9c9101647bfe943d

Signature · 1 line
2.34.1
#1 lore raw

[cc += Mika]

Quoted 10 lines · Albert Zhou

Add informative comment that Thunderbolt requires PCI Hotplug.

---
 drivers/pci/hotplug/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/hotplug/Kconfig +0 -0
index 840a84bb5ee2..a6dccb958254 100644

drivers/pci/hotplug/Kconfig menuconfig HOTPLUG_PCI · line 14

Quoted 7 lines
drivers/pci/hotplug/Kconfig +1 -1
@@ -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