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)
Sat, Aug 15, 3:42 AM
Unknown Object (File)
Thu, Aug 13, 7:41 PM
Unknown Object (File)
Thu, Aug 13, 10:53 AM
Unknown Object (File)
Mon, Aug 10, 7:03 PM
Unknown Object (File)
Mon, Aug 10, 4:59 PM
Unknown Object (File)
Sat, Aug 8, 11:30 PM
Unknown Object (File)
Sat, Aug 8, 9:14 PM
Unknown Object (File)
Sat, Aug 8, 3:40 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