HomeFreeBSD

If we're passed an argument, then treat it as a single NOMATCH event

Description

If we're passed an argument, then treat it as a single NOMATCH event
to parse rather than searching for all events. Pass with new -p arg to
devmatch. devmatch will use that one event rather than walking the
entire tree.

kldload will stop at the first failure. So we need to loop. Also,
symbolic links may confused kldload into trying (and failing) to load
multiple modules at once, so guard against that.

Noticed by: hps (with similar patch)
Sponsored by: Netflix

Details

Provenance
impAuthored on
Parents
rS329440: Correct the PNP information generated by the usb driver to match the
Branches
Unknown
Tags
Unknown