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)
Thu, Apr 17, 7:26 AM
Unknown Object (File)
Wed, Apr 16, 12:11 AM
Unknown Object (File)
Mon, Apr 14, 7:43 AM
Unknown Object (File)
Mon, Apr 14, 5:00 AM
Unknown Object (File)
Sun, Apr 13, 10:58 PM
Unknown Object (File)
Sun, Apr 13, 9:12 PM
Unknown Object (File)
Mar 6 2025, 4:15 PM
Unknown Object (File)
Feb 26 2025, 9:30 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