Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/pci Fix compile error. Compile test only.
details: https://anonhg.NetBSD.org/src/rev/647ebe295aa2
branches: trunk
changeset: 369880:647ebe295aa2
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Sep 06 01:44:24 2022 +0000
description:
Fix compile error. Compile test only.
diffstat:
sys/arch/x86/pci/pci_machdep.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r faedd85de48c -r 647ebe295aa2 sys/arch/x86/pci/pci_machdep.c
--- a/sys/arch/x86/pci/pci_machdep.c Mon Sep 05 17:13:36 2022 +0000
+++ b/sys/arch/x86/pci/pci_machdep.c Tue Sep 06 01:44:24 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep.c,v 1.92 2022/09/05 14:18:51 riastradh Exp $ */
+/* $NetBSD: pci_machdep.c,v 1.93 2022/09/06 01:44:24 msaitoh Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.92 2022/09/05 14:18:51 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.93 2022/09/06 01:44:24 msaitoh Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -1249,8 +1249,13 @@
* framebuffer address? Tough...but this has
* probably never worked.
*/
+#if NGENFB > 0
prop_dictionary_set_bool(dict, "is_console",
genfb_is_console());
+#else
+ prop_dictionary_set_bool(dict, "is_console",
+ true);
+#endif
prop_dictionary_set_bool(dict, "clear-screen", false);
#if NWSDISPLAY > 0 && NGENFB > 0
Home |
Main Index |
Thread Index |
Old Index