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
F167143103: D37363.diff
Wed, Aug 19, 11:11 AM
Unknown Object (File)
Tue, Aug 18, 8:13 PM
Unknown Object (File)
Tue, Aug 18, 4:25 PM
Unknown Object (File)
Mon, Aug 17, 6:07 PM
Unknown Object (File)
Mon, Aug 17, 5:46 PM
Unknown Object (File)
Mon, Aug 17, 4:02 PM
Unknown Object (File)
Mon, Aug 17, 3:53 PM
Unknown Object (File)
Sun, Aug 16, 8:46 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