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
F84428201: D37363.diff
Thu, May 23, 6:14 PM
F84402738: D37363.id113007.diff
Thu, May 23, 9:29 AM
F84394933: D37363.id112964.diff
Thu, May 23, 7:05 AM
F84394931: D37363.id.diff
Thu, May 23, 7:05 AM
F84388220: D37363.diff
Thu, May 23, 4:43 AM
Unknown Object (File)
Jan 12 2024, 8:31 AM
Unknown Object (File)
Jan 12 2024, 1:44 AM
Unknown Object (File)
Nov 7 2023, 5:57 AM

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