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)
Sat, Aug 2, 5:49 AM
Unknown Object (File)
Tue, Jul 29, 7:33 AM
Unknown Object (File)
Jul 6 2025, 7:20 PM
Unknown Object (File)
Jul 4 2025, 1:27 PM
Unknown Object (File)
Jun 27 2025, 10:17 AM
Unknown Object (File)
Jun 26 2025, 9:53 PM
Unknown Object (File)
Jun 26 2025, 8:06 PM
Unknown Object (File)
Jun 25 2025, 7:13 PM

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

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