Page MenuHomeFreeBSD

stand: Add dv_match
ClosedPublic

Authored by imp on Nov 29 2022, 9:16 PM.
Tags
None
Referenced Files
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
Unknown Object (File)
Feb 18 2024, 7:25 PM
Unknown Object (File)
Jan 12 2024, 11:42 PM
Unknown Object (File)
Jan 5 2024, 4:31 PM
Unknown Object (File)
Jan 4 2024, 4:16 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 48555
Build 45441: arc lint + arc unit