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, Apr 30, 6:33 PM
Unknown Object (File)
Tue, Apr 30, 6:29 PM
Unknown Object (File)
Tue, Apr 30, 6:29 PM
Unknown Object (File)
Apr 24 2024, 6:18 PM
Unknown Object (File)
Feb 24 2024, 4:18 PM
Unknown Object (File)
Feb 19 2024, 4:14 AM
Unknown Object (File)
Feb 19 2024, 4:14 AM
Unknown Object (File)
Feb 19 2024, 4:13 AM
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