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)
Sun, Nov 2, 12:01 AM
Unknown Object (File)
Wed, Oct 29, 7:33 PM
Unknown Object (File)
Wed, Oct 29, 6:24 PM
Unknown Object (File)
Wed, Oct 29, 4:44 PM
Unknown Object (File)
Wed, Oct 29, 3:45 PM
Unknown Object (File)
Wed, Oct 29, 11:23 AM
Unknown Object (File)
Wed, Oct 22, 4:54 AM
Unknown Object (File)
Oct 19 2025, 2:18 AM
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