Page MenuHomeFreeBSD

linuxkpi: Add `PCIE_SPEED_{32,64}_0GT` PCI-E bus speed constants
ClosedPublic

Authored by dumbbell on Nov 11 2022, 6:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 20 2026, 9:07 AM
Unknown Object (File)
May 7 2026, 4:09 PM
Unknown Object (File)
May 7 2026, 12:39 PM
Unknown Object (File)
May 6 2026, 5:17 AM
Unknown Object (File)
May 6 2026, 2:20 AM
Unknown Object (File)
May 5 2026, 1:09 PM
Unknown Object (File)
May 3 2026, 3:57 PM
Unknown Object (File)
Apr 29 2026, 1:33 PM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Do we also need new cases in pcie_get_speed_cap and PCIE_SPEED2MBS_ENC?

Indeed, I missed that.

Add support for the new speeds in pcie_get_speed_cap() and PCIE_SPEED2MBS_ENC().

While here, fix the values of the PCI_EXP_LNKCAP_SLS_*. They are supposed to increase sequentially. They are not bitfields. This will be committed separately.

This revision is now accepted and ready to land.Dec 1 2022, 1:22 PM