HomeFreeBSD

tegra_pcie: use switch instead of if in tegra_pcib_pex_ctrl

Description

tegra_pcie: use switch instead of if in tegra_pcib_pex_ctrl

Simplify obtaining per-port data in tegra_pcib_pex_ctrl() routine.

Reviewed by: imp, mw
Pull Request: https://github.com/freebsd/freebsd-src/pull/481

Details

Provenance
Ferhat Gecdogan <ferhatgec@users.noreply.github.com>Authored on Jul 1 2021, 6:09 PM
mwCommitted on Jul 1 2021, 6:09 PM
Parents
rG2ca21223c520: dts: Bump the freebsd branding version to 5.13
Branches
Unknown
Tags
Unknown

Event Timeline