Page MenuHomeFreeBSD

pci: switch logic a little
ClosedPublic

Authored by imp on Nov 1 2021, 7:16 PM.
Tags
None
Referenced Files
F132380819: D32779.diff
Thu, Oct 16, 9:59 AM
Unknown Object (File)
Sun, Oct 5, 3:04 AM
Unknown Object (File)
Fri, Sep 26, 4:29 PM
Unknown Object (File)
Mon, Sep 22, 3:00 AM
Unknown Object (File)
Sep 7 2025, 1:24 PM
Unknown Object (File)
Sep 7 2025, 2:58 AM
Unknown Object (File)
Aug 30 2025, 5:12 AM
Unknown Object (File)
Aug 25 2025, 1:20 AM
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