Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun3/conf Add bwtwo0 config on P4 cgfour overlay pl...



details:   https://anonhg.NetBSD.org/src/rev/f714c1d40068
branches:  trunk
changeset: 369443:f714c1d40068
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Wed Aug 17 19:13:05 2022 +0000

description:
Add bwtwo0 config on P4 cgfour overlay plane on 3/80, as 3/60 in bw2.sun3.

Note the ancient Xsun server supports multiple framebuffers with both
cgfour (at DISPLAY :0) and overlay bwtwo (at DISPLAY :0.1).

diffstat:

 sys/arch/sun3/conf/GENERIC3X |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r ab6bc61a7a1f -r f714c1d40068 sys/arch/sun3/conf/GENERIC3X
--- a/sys/arch/sun3/conf/GENERIC3X      Wed Aug 17 14:32:34 2022 +0000
+++ b/sys/arch/sun3/conf/GENERIC3X      Wed Aug 17 19:13:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC3X,v 1.140 2022/08/07 02:52:30 simonb Exp $
+# $NetBSD: GENERIC3X,v 1.141 2022/08/17 19:13:05 tsutsui Exp $
 
 # GENERIC Sun3X (3/80, 3/470)
 # Supports root on: ie0, le0, sd*, ...
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC3X-$Revision: 1.140 $"
+#ident         "GENERIC3X-$Revision: 1.141 $"
 
 makeoptions    COPTS="-Os -fno-unwind-tables -fno-omit-frame-pointer"
        # Bootloader has size limit (~2MB). -fno-omit-frame-pointer is
@@ -203,6 +203,11 @@
 
 # P4 Monochrome frame buffer.
 bwtwo0 at obmem0 addr 0x50300000
+# The bw2 driver can also run on a cg4 overlay plane,
+# and the 0x40 flag means "CG overlay plane" mode.
+# The low 4 bits of the flags (if set) are matched
+# against the same bits of the machine type ID code.
+bwtwo0 at obmem0 addr 0x50300000 flags 0x42    # 3/80 (P4 cgfour overlay)
 
 # P4 8-bit color frame buffer
 cgfour0 at obmem0 addr 0x50300000



Home | Main Index | Thread Index | Old Index