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)
Mon, Feb 9, 6:43 AM
Unknown Object (File)
Sat, Feb 7, 11:30 PM
Unknown Object (File)
Sat, Feb 7, 6:27 PM
Unknown Object (File)
Sat, Jan 31, 11:41 AM
Unknown Object (File)
Jan 15 2026, 4:57 AM
Unknown Object (File)
Dec 20 2025, 12:23 AM
Unknown Object (File)
Dec 2 2025, 2:44 PM
Unknown Object (File)
Nov 25 2025, 8:48 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