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
Paths
| Differential D37560 Authored by imp on Nov 29 2022, 9:45 PM.
Details Summary Both ofw_disk and ofw_net use the same parsedev routine, except for the Sponsored by: Netflix
Diff Detail
Event TimelineHerald added a reviewer: manu. · View Herald TranscriptNov 29 2022, 9:45 PM2022-11-29 21:45:19 (UTC+0) Harbormaster completed remote builds in B48561: Diff 113649.Nov 29 2022, 9:45 PM2022-11-29 21:45:19 (UTC+0) imp added a parent revision: D37559: stand/ofw: Use devparse.Nov 29 2022, 9:45 PM2022-11-29 21:45:38 (UTC+0) This revision was not accepted when it landed; it landed in state Needs Review.Nov 30 2022, 10:37 PM2022-11-30 22:37:30 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 113721 stand/libofw/devicename.c
stand/libofw/libofw.h
stand/libofw/ofw_disk.c
stand/libofw/ofw_net.c
|