Page MenuHomeFreeBSD

stand: Add dv_match
ClosedPublic

Authored by imp on Nov 29 2022, 9:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 22, 10:28 PM
Unknown Object (File)
Oct 8 2024, 7:41 PM
Unknown Object (File)
Oct 8 2024, 6:45 AM
Unknown Object (File)
Oct 7 2024, 11:40 AM
Unknown Object (File)
Oct 7 2024, 5:29 AM
Unknown Object (File)
Oct 6 2024, 11:29 AM
Unknown Object (File)
Oct 2 2024, 10:18 PM
Unknown Object (File)
Oct 2 2024, 7:34 PM
Subscribers

Details

Summary

On OpenFirmware, and possibly kboot, we use full path names for the
objects that are the 'device'. kboot uses a hack of knowing that all
disk device nodes start with '/dev', but this generalizes it for
OpenFirmware where both 'block' and 'network' devices live in the same
namespace and one must ask the OF node its type to know if this device
type matches.

For drivers that don't specify, the current convention of using
strncmp() is retained. This is done only in devparse(), but everything
uses it directly (or will soon).

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable