Page MenuHomeFreeBSD

pci: switch logic a little
ClosedPublic

Authored by imp on Nov 1 2021, 7:16 PM.
Tags
None
Referenced Files
F171414344: D32779.id97818.diff
Fri, Sep 11, 12:18 AM
Unknown Object (File)
Wed, Sep 9, 6:23 PM
Unknown Object (File)
Wed, Sep 9, 12:48 PM
Unknown Object (File)
Wed, Sep 9, 12:34 AM
Unknown Object (File)
Tue, Sep 8, 4:22 AM
Unknown Object (File)
Tue, Sep 8, 2:41 AM
Unknown Object (File)
Tue, Sep 8, 2:40 AM
Unknown Object (File)
Sat, Sep 5, 1:34 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