HomeFreeBSD

stand/ofw: Add ofw_path_to_handle

Description

stand/ofw: Add ofw_path_to_handle

ofw_path_to_handle converts a path string to a phandle_t. It searches
down the path for the first device whose type matches the passed-in
string.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D37556

Details

Provenance
impAuthored on Nov 30 2022, 10:10 PM
Differential Revision
D37556: stand/ofw: Add ofw_path_to_handle
Parents
rG40d340acb931: stand: Implement ofw disk print routine
Branches
Unknown
Tags
Unknown