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
F109027909: D37363.diff
Thu, Jan 30, 8:07 PM
Unknown Object (File)
Nov 16 2024, 11:24 AM
Unknown Object (File)
Nov 12 2024, 11:13 AM
Unknown Object (File)
Nov 5 2024, 11:21 AM
Unknown Object (File)
Oct 27 2024, 7:22 AM
Unknown Object (File)
Oct 13 2024, 11:06 AM
Unknown Object (File)
Oct 13 2024, 11:06 AM
Unknown Object (File)
Oct 13 2024, 11:06 AM

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