Page MenuHomeFreeBSD

D55573.diff
No OneTemporary

D55573.diff

diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC
--- a/sys/amd64/conf/GENERIC
+++ b/sys/amd64/conf/GENERIC
@@ -339,6 +339,7 @@
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device xhci # XHCI PCI->USB interface (USB 3.0)
+device thunderbolt # Thunderbolt PCI->USB interface (USB 4.0)
device usb # USB Bus (required)
device usbhid # USB HID Transport
device hkbd # HID Keyboard
diff --git a/sys/amd64/conf/NOTES b/sys/amd64/conf/NOTES
--- a/sys/amd64/conf/NOTES
+++ b/sys/amd64/conf/NOTES
@@ -61,6 +61,10 @@
#XXX this stores pointers in a 32bit field that is defined by the hardware
#device pst
+# Thunderbolt (USB 4.0) support
+device thunderbolt
+options THUNDERBOLT_DEBUG
+
#
# Microsemi smartpqi controllers.
# These controllers have a SCSI-like interface, and require the
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -415,6 +415,18 @@
x86/x86/msi.c optional pci
x86/xen/pv.c optional xenhvm
+# Thunderbolt (USB 4.0) support
+dev/thunderbolt/hcm.c optional thunderbolt
+dev/thunderbolt/nhi.c optional thunderbolt
+dev/thunderbolt/nhi_pci.c optional thunderbolt
+dev/thunderbolt/nhi_wmi.c optional acpi acpi_wmi thunderbolt
+dev/thunderbolt/router.c optional thunderbolt
+dev/thunderbolt/tb_acpi_pcib.c optional acpi thunderbolt
+dev/thunderbolt/tb_debug.c optional thunderbolt
+dev/thunderbolt/tb_dev.c optional thunderbolt
+dev/thunderbolt/tb_if.m optional thunderbolt
+dev/thunderbolt/tb_pcib.c optional acpi thunderbolt
+
# zfs blake3 hash support
contrib/openzfs/module/icp/asm-x86_64/blake3/blake3_avx2.S optional zfs compile-with "${ZFS_S}"
contrib/openzfs/module/icp/asm-x86_64/blake3/blake3_avx512.S optional zfs compile-with "${ZFS_S}"
diff --git a/sys/conf/options.amd64 b/sys/conf/options.amd64
--- a/sys/conf/options.amd64
+++ b/sys/conf/options.amd64
@@ -71,3 +71,6 @@
# Enable asmc(4)-specific debug logic.
ASMC_DEBUG opt_asmc.h
+
+# Enable thunderbolt(4)-specific debug logic.
+THUNDERBOLT_DEBUG opt_thunderbolt.h

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 1, 12:42 AM (15 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29086320
Default Alt Text
D55573.diff (2 KB)

Event Timeline