Module Name: src Committed By: jmcneill Date: Wed Jan 30 00:55:04 UTC 2019
Modified Files: src/sys/dev/fdt: simplefb.c Log Message: Call genfb_cnattach when WSDISPLAY_MULTICONS is defined To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/fdt/simplefb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/fdt/simplefb.c diff -u src/sys/dev/fdt/simplefb.c:1.6 src/sys/dev/fdt/simplefb.c:1.7 --- src/sys/dev/fdt/simplefb.c:1.6 Mon Jul 23 00:51:40 2018 +++ src/sys/dev/fdt/simplefb.c Wed Jan 30 00:55:04 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: simplefb.c,v 1.6 2018/07/23 00:51:40 macallan Exp $ */ +/* $NetBSD: simplefb.c,v 1.7 2019/01/30 00:55:04 jmcneill Exp $ */ /*- * Copyright (c) 2017 Jared McNeill <jmcne...@invisible.ca> @@ -29,7 +29,7 @@ #include "opt_wsdisplay_compat.h" #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: simplefb.c,v 1.6 2018/07/23 00:51:40 macallan Exp $"); +__KERNEL_RCSID(0, "$NetBSD: simplefb.c,v 1.7 2019/01/30 00:55:04 jmcneill Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -199,6 +199,7 @@ simplefb_attach_genfb(struct simplefb_so #ifdef WSDISPLAY_MULTICONS const bool is_console = true; + genfb_cnattach(); #else const bool is_console = phandle == simplefb_console_phandle; if (is_console)