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)
Fri, Jan 10, 1:02 AM
Unknown Object (File)
Jan 4 2025, 3:36 PM
Unknown Object (File)
Dec 29 2024, 10:13 PM
Unknown Object (File)
Dec 26 2024, 12:57 PM
Unknown Object (File)
Nov 27 2024, 10:40 AM
Unknown Object (File)
Nov 25 2024, 12:56 PM
Unknown Object (File)
Nov 23 2024, 9:34 AM
Unknown Object (File)
Nov 21 2024, 5:21 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