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 rascons_init_rasops(): Initialize color...
details: https://anonhg.NetBSD.org/src/rev/e816c7f74f33
branches: trunk
changeset: 1011724:e816c7f74f33
user: rin <rin%NetBSD.org@localhost>
date: Tue Jul 07 13:57:20 2020 +0000
description:
rascons_init_rasops(): Initialize color palette only for macppc.
Fix build failure for ofppc.
diffstat:
sys/arch/powerpc/oea/ofw_rascons.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r cd0f7dcc6ed8 -r e816c7f74f33 sys/arch/powerpc/oea/ofw_rascons.c
--- a/sys/arch/powerpc/oea/ofw_rascons.c Tue Jul 07 12:01:21 2020 +0000
+++ b/sys/arch/powerpc/oea/ofw_rascons.c Tue Jul 07 13:57:20 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofw_rascons.c,v 1.16 2020/07/07 02:33:54 rin Exp $ */
+/* $NetBSD: ofw_rascons.c,v 1.17 2020/07/07 13:57:20 rin Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw_rascons.c,v 1.16 2020/07/07 02:33:54 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw_rascons.c,v 1.17 2020/07/07 13:57:20 rin Exp $");
#include "wsdisplay.h"
@@ -286,6 +286,7 @@
width / ri->ri_font->fontwidth);
}
+#ifdef macppc
if (depth == 8 && ofw_quiesce) {
/*
* Open Firmware will be quiesced. This is last chance to
@@ -297,6 +298,7 @@
rasops_cmap[3 * i + 2], i);
}
}
+#endif
return true;
}
Home |
Main Index |
Thread Index |
Old Index