devinit() marches through all the devices, calling the inint routines if
any exist. Replace all the identical copies of this code.
Sponsored by: Netflix
Paths
| Differential D37349 Authored by imp on Nov 10 2022, 6:49 PM.
Details
Summary devinit() marches through all the devices, calling the inint routines if Sponsored by: Netflix
Diff Detail
Event TimelineHerald added a reviewer: manu. · View Herald TranscriptNov 10 2022, 6:49 PM2022-11-10 18:49:33 (UTC+0) Harbormaster completed remote builds in B48274: Diff 112872.Nov 10 2022, 6:49 PM2022-11-10 18:49:34 (UTC+0) imp added a parent revision: D37347: stand/ofw: ofw_disk isn't really a disk.Nov 10 2022, 6:50 PM2022-11-10 18:50:06 (UTC+0) Comment Actionsonly uboot calls dv_init() outside of this routine. It does lots of special things in its init loop, so I didn't collapse it here. This revision was not accepted when it landed; it landed in state Needs Review.Nov 30 2022, 10:32 PM2022-11-30 22:32:07 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 113715 stand/efi/loader/main.c
stand/i386/loader/main.c
stand/i386/zfsboot/zfsboot.c
stand/libsa/dev.c
|