Page MenuHomeFreeBSD

amd64: complete thunderbolt KERNCONF integration
ClosedPublic

Authored by ngie on Feb 27 2026, 8:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 4, 2:26 AM
Unknown Object (File)
Thu, Jun 4, 1:21 AM
Unknown Object (File)
Mon, May 18, 6:22 PM
Unknown Object (File)
May 8 2026, 2:40 AM
Unknown Object (File)
Apr 29 2026, 1:27 PM
Unknown Object (File)
Apr 29 2026, 1:22 PM
Unknown Object (File)
Apr 29 2026, 4:14 AM
Unknown Object (File)
Apr 29 2026, 4:08 AM

Details

Summary

This completes the work so the driver can be integrated into KERNCONFs
properly on amd64.

MFC after: 1 month

Test Plan

This is one of the many changes that helps provide a more complete/functional Thunderbolt experience with my MacBookPro13,1.

My other Apple devices are pending..

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 71080
Build 67963: arc lint + arc unit

Event Timeline

ngie requested review of this revision.Feb 27 2026, 8:46 PM
ngie retitled this revision from Complete thunderbolt KERNCONF integration to amd64: complete thunderbolt KERNCONF integration.Feb 27 2026, 8:50 PM
ngie edited the summary of this revision. (Show Details)
ngie edited the test plan for this revision. (Show Details)
ngie added a reviewer: imp.
ngie added subscribers: adrian, jhb, USB.
sys/conf/files.amd64
429

So I'm wondering if all this shouldn't just be in files, even if it's just amd64 at the moment...

And it's also misordered here if it actually belongs here.

sys/conf/files.amd64
429

Putting it in sys/conf/files might be a good idea, but what I am doing is matching the existing logic in sys/modules/Makefile.

Where should these entries be? Should it be sorted by its driver name (in this case thunderbolt?)?

sys/conf/files.amd64
429

@imp: ping?

sys/conf/files.amd64
429

they should be in alphabetical order with the other devices.

This revision was not accepted when it landed; it landed in state Needs Review.Wed, Jun 3, 6:02 AM
This revision was automatically updated to reflect the committed changes.
obiwac added inline comments.
sys/amd64/conf/GENERIC
342

could we not have this built in the kernel by default? firstly and mainly because this is still very incomplete and I don't want anyone relying on this, and secondly because for S0i3 with pink sardine controllers to work we currently have to easily be able to unload/load this on resume (issue with hotplug events not being properly acknowledged and filling the rings).

sys/amd64/conf/GENERIC
342

I'll do that and add a comment/bug that notes why it's not in GENERIC. I'll hopefully have this started/completed by EOD.

sys/amd64/conf/GENERIC
342

thanks, appreciate it :)