]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
thunderbolt: Separate out common NHI bits
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Thu, 21 May 2026 10:40:01 +0000 (12:40 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 21 May 2026 12:29:05 +0000 (14:29 +0200)
commite241d98e04ef0513b78de2d87d8d1eb2993d9d34
tree456bb44a6ba8a8550d10f836e56e341fade86ad9
parent8c3ff7c5ae15cc71000f10f4d0f26669b9471faa
thunderbolt: Separate out common NHI bits

Add a new file encapsulating most of the PCI NHI specifics
(intentionally leaving some odd cookies behind to make the layering
simpler). Most notably, separate out nhi_probe() to make it easier to
register other types of NHIs.

Also, fold in Intel Icelake (nhi_ops.c) support to contain all
PCIe-related bits in pci.c.

Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/Makefile
drivers/thunderbolt/nhi.c
drivers/thunderbolt/nhi.h
drivers/thunderbolt/nhi_ops.c [deleted file]
drivers/thunderbolt/pci.c [new file with mode: 0644]
drivers/thunderbolt/switch.c