Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/next68k/dev NeXT Turbo Color doesn't have NEXT_P_C1...



details:   https://anonhg.NetBSD.org/src/rev/0f997d05c7f0
branches:  trunk
changeset: 373443:0f997d05c7f0
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Feb 11 02:34:15 2023 +0000

description:
NeXT Turbo Color doesn't have NEXT_P_C16_CMD_REG.

Info from Andreas Grabher on port-next68k@.

diffstat:

 sys/arch/next68k/dev/nextdisplay.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9e4258de254f -r 0f997d05c7f0 sys/arch/next68k/dev/nextdisplay.c
--- a/sys/arch/next68k/dev/nextdisplay.c        Sat Feb 11 02:33:27 2023 +0000
+++ b/sys/arch/next68k/dev/nextdisplay.c        Sat Feb 11 02:34:15 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nextdisplay.c,v 1.29 2023/02/11 02:33:27 tsutsui Exp $ */
+/* $NetBSD: nextdisplay.c,v 1.30 2023/02/11 02:34:15 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1998 Matt DeBergalis
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nextdisplay.c,v 1.29 2023/02/11 02:33:27 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nextdisplay.c,v 1.30 2023/02/11 02:34:15 tsutsui Exp $");
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
@@ -246,7 +246,7 @@
        printf(": %d x %d, %dbpp\n", sc->sc_dc->dc_wid, sc->sc_dc->dc_ht,
            sc->sc_dc->dc_depth);
 
-       if (iscolor) {
+       if (iscolor && !turbo) {
 #if 0
                uint8_t x;
 



Home | Main Index | Thread Index | Old Index