diff options
| author | Abdelkader Boudih <guest-seuros@FreeBSD.org> | 2026-02-06 16:12:56 +0000 |
|---|---|---|
| committer | Aymeric Wibo <obiwac@FreeBSD.org> | 2026-02-06 16:13:12 +0000 |
| commit | 067ad8b31bf68b6dcf1ad571746349ed88d63d00 (patch) | |
| tree | 2b2050f36d9399fb7dbf5d1203ca17ac639a8de0 /contrib/file/magic/Magdir/tuxedo | |
| parent | 86150ed98b7903feaba942f01619e74894cd23c4 (diff) | |
Light Ridge and earlier Thunderbolt controllers reuse the same device ID
(0x1513) for both the NHI (class 0x088000) and PCI bridges (class
0x060400).
Without checking the PCI class, tb_pcib would incorrectly match NHI
devices, causing a panic when trying to attach bridge code to non-bridge
hardware.
Add PCI class check to tb_pcib_find_ident() to only match actual PCI-PCI
bridges (PCIC_BRIDGE/PCIS_BRIDGE_PCI).
Reviewed by: obiwac, jhb
Approved by: obiwac, jhb
Fixes: 2ed9833791f2 (thunderbolt: Import USB4 code)
Differential Revision: https://reviews.freebsd.org/D55102
Diffstat (limited to 'contrib/file/magic/Magdir/tuxedo')
0 files changed, 0 insertions, 0 deletions
