Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/oea if we have the ROM font, make it availa...



details:   https://anonhg.NetBSD.org/src/rev/e3954cdf6356
branches:  trunk
changeset: 372637:e3954cdf6356
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Dec 14 13:19:04 2022 +0000

description:
if we have the ROM font, make it available to wsdisplay
needs testing on non-macppc

diffstat:

 sys/arch/powerpc/oea/ofw_autoconf.c |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r d6ea38a9704a -r e3954cdf6356 sys/arch/powerpc/oea/ofw_autoconf.c
--- a/sys/arch/powerpc/oea/ofw_autoconf.c       Wed Dec 14 13:04:24 2022 +0000
+++ b/sys/arch/powerpc/oea/ofw_autoconf.c       Wed Dec 14 13:19:04 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofw_autoconf.c,v 1.24 2019/11/27 21:07:32 joerg Exp $ */
+/* $NetBSD: ofw_autoconf.c,v 1.25 2022/12/14 13:19:04 macallan Exp $ */
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
  * Copyright (C) 1995, 1996 TooLs GmbH.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw_autoconf.c,v 1.24 2019/11/27 21:07:32 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw_autoconf.c,v 1.25 2022/12/14 13:19:04 macallan Exp $");
 
 #ifdef ofppc
 #include "gtpci.h"
@@ -61,6 +61,11 @@
 #include <dev/ata/atavar.h>
 #include <dev/ic/wdcvar.h>
 
+#include <dev/wscons/wsconsio.h>
+#include <dev/wscons/wsdisplayvar.h>
+#include <dev/rasops/rasops.h>
+#include <powerpc/oea/ofw_rasconsvar.h>
+
 #include <machine/pci_machdep.h>
 
 #include <prop/proplib.h>
@@ -77,6 +82,7 @@
 void
 cpu_configure(void)
 {
+       rascons_add_rom_font();
        init_interrupt();
        canonicalize_bootpath();
 



Home | Main Index | Thread Index | Old Index