HomeFreeBSD

stand/ofw: Refactor ofw parsedev

Description

stand/ofw: Refactor ofw parsedev

Both ofw_disk and ofw_net use the same parsedev routine, except for the
string passed in to match the ofw device node's type. Create a routine
to do that and connect these two users up to that.

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

Details

Provenance
impAuthored on Nov 30 2022, 10:10 PM
Differential Revision
D37560: stand/ofw: Refactor ofw parsedev
Parents
rG854001759e59: stand/ofw: Use devparse
Branches
Unknown
Tags
Unknown