From: kettenis Date: Wed, 19 Jul 2023 21:52:55 +0000 (+0000) Subject: Reset sc->sc_early to 0 to make sure the framebuffer attaches. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=79109fa9196578eee46dc267b2e23ecab7a145cd;p=openbsd Reset sc->sc_early to 0 to make sure the framebuffer attaches. Fixes my previous commit. ok drahn@ --- diff --git a/sys/arch/arm64/dev/mainbus.c b/sys/arch/arm64/dev/mainbus.c index f1d84d0eb9d..192e45c2f95 100644 --- a/sys/arch/arm64/dev/mainbus.c +++ b/sys/arch/arm64/dev/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.26 2023/07/19 20:26:11 kettenis Exp $ */ +/* $OpenBSD: mainbus.c,v 1.27 2023/07/19 21:52:55 kettenis Exp $ */ /* * Copyright (c) 2016 Patrick Wildt * Copyright (c) 2017 Mark Kettenis @@ -158,6 +158,7 @@ mainbus_attach(struct device *parent, struct device *self, void *aux) for (node = OF_child(sc->sc_node); node; node = OF_peer(node)) mainbus_attach_node(self, node, NULL); } + sc->sc_early = 0; mainbus_attach_framebuffer(self);