Page MenuHomeFreeBSD

stand/ofw: Refactor ofw parsedev
ClosedPublic

Authored by imp on Nov 29 2022, 9:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 2, 2:44 PM
Unknown Object (File)
Tue, Nov 25, 8:48 PM
Unknown Object (File)
Fri, Nov 21, 3:42 AM
Unknown Object (File)
Nov 2 2025, 12:01 AM
Unknown Object (File)
Oct 29 2025, 7:33 PM
Unknown Object (File)
Oct 29 2025, 6:24 PM
Unknown Object (File)
Oct 29 2025, 4:44 PM
Unknown Object (File)
Oct 29 2025, 3:45 PM
Subscribers

Details

Summary

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

Diff Detail

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