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)
Wed, Nov 27, 10:40 AM
Unknown Object (File)
Mon, Nov 25, 12:56 PM
Unknown Object (File)
Sat, Nov 23, 9:34 AM
Unknown Object (File)
Thu, Nov 21, 5:21 PM
Unknown Object (File)
Wed, Nov 20, 6:31 PM
Unknown Object (File)
Tue, Nov 19, 7:49 AM
Unknown Object (File)
Nov 15 2024, 4:05 AM
Unknown Object (File)
Nov 15 2024, 1:24 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