Page MenuHomeFreeBSD

pci: switch logic a little
ClosedPublic

Authored by imp on Nov 1 2021, 7:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 1, 1:10 AM
Unknown Object (File)
Tue, Dec 30, 5:57 AM
Unknown Object (File)
Nov 30 2025, 1:40 AM
Unknown Object (File)
Nov 27 2025, 2:30 AM
Unknown Object (File)
Nov 24 2025, 11:10 AM
Unknown Object (File)
Nov 23 2025, 9:54 AM
Unknown Object (File)
Nov 22 2025, 1:04 PM
Unknown Object (File)
Nov 20 2025, 9:37 PM
Subscribers
None

Details

Summary

If we find a match, then assign it. Flip the logic in the if and assign
the unit rather than continuing if it doesn't match. Will make it easier
to expand to other matching schemes.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable