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)
Thu, Oct 16, 7:49 PM
Unknown Object (File)
Thu, Oct 16, 7:49 PM
Unknown Object (File)
Thu, Oct 16, 7:49 PM
Unknown Object (File)
Thu, Oct 16, 7:49 PM
Unknown Object (File)
Thu, Oct 16, 9:59 AM
Unknown Object (File)
Sun, Oct 5, 3:04 AM
Unknown Object (File)
Fri, Sep 26, 4:29 PM
Unknown Object (File)
Mon, Sep 22, 3:00 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 42550
Build 39438: arc lint + arc unit