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)
Tue, Nov 19, 7:49 AM
Unknown Object (File)
Fri, Nov 15, 4:05 AM
Unknown Object (File)
Fri, Nov 15, 1:24 AM
Unknown Object (File)
Sat, Nov 9, 1:24 AM
Unknown Object (File)
Thu, Oct 31, 2:59 PM
Unknown Object (File)
Fri, Oct 25, 1:30 AM
Unknown Object (File)
Fri, Oct 25, 1:29 AM
Unknown Object (File)
Fri, Oct 25, 1:29 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