Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/fdt Call genfb_cnattach when WSDISPLAY_MULTICONS is ...



details:   https://anonhg.NetBSD.org/src/rev/256b49a8ba01
branches:  trunk
changeset: 838741:256b49a8ba01
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Jan 30 00:55:04 2019 +0000

description:
Call genfb_cnattach when WSDISPLAY_MULTICONS is defined

diffstat:

 sys/dev/fdt/simplefb.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1dbc43650d01 -r 256b49a8ba01 sys/dev/fdt/simplefb.c
--- a/sys/dev/fdt/simplefb.c    Tue Jan 29 23:57:01 2019 +0000
+++ b/sys/dev/fdt/simplefb.c    Wed Jan 30 00:55:04 2019 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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 @@
 
 #ifdef WSDISPLAY_MULTICONS
        const bool is_console = true;
+       genfb_cnattach();
 #else
        const bool is_console = phandle == simplefb_console_phandle;
        if (is_console)



Home | Main Index | Thread Index | Old Index