Page MenuHomeFreeBSD

pci: switch logic a little
ClosedPublic

Authored by imp on Nov 1 2021, 7:16 PM.
Tags
None
Referenced Files
F163638048: D32779.id97818.diff
Sat, Jul 25, 2:02 AM
F163562379: D32779.id.diff
Fri, Jul 24, 12:48 PM
Unknown Object (File)
Sun, Jul 19, 3:23 PM
Unknown Object (File)
Sat, Jul 11, 4:22 PM
Unknown Object (File)
Sun, Jul 5, 5:31 AM
Unknown Object (File)
Sun, Jul 5, 5:22 AM
Unknown Object (File)
Fri, Jul 3, 7:00 AM
Unknown Object (File)
Thu, Jul 2, 3:07 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