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, Oct 19, 2:18 AM
Unknown Object (File)
Fri, Oct 17, 7:22 AM
Unknown Object (File)
Wed, Oct 15, 1:32 AM
Unknown Object (File)
Sun, Oct 12, 4:09 AM
Unknown Object (File)
Thu, Oct 9, 2:27 PM
Unknown Object (File)
Thu, Oct 9, 2:27 PM
Unknown Object (File)
Thu, Oct 9, 2:27 PM
Unknown Object (File)
Thu, Oct 9, 1:28 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