Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/pci Fix lossage with the et4000. Some of the ...



details:   https://anonhg.NetBSD.org/src/rev/4b47a664a306
branches:  trunk
changeset: 473429:4b47a664a306
user:      leo <leo%NetBSD.org@localhost>
date:      Thu Jun 03 12:38:50 1999 +0000

description:
Fix lossage with the et4000. Some of the CRT registers were incorrect.

diffstat:

 sys/arch/atari/pci/pci_tseng.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 4f9ce00c52e6 -r 4b47a664a306 sys/arch/atari/pci/pci_tseng.c
--- a/sys/arch/atari/pci/pci_tseng.c    Thu Jun 03 01:58:51 1999 +0000
+++ b/sys/arch/atari/pci/pci_tseng.c    Thu Jun 03 12:38:50 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_tseng.c,v 1.2 1999/03/26 08:21:49 leo Exp $        */
+/*     $NetBSD: pci_tseng.c,v 1.3 1999/06/03 12:38:50 leo Exp $        */
 
 /*
  * Copyright (c) 1999 Leo Weppelman.  All rights reserved.
@@ -61,7 +61,7 @@
        0xff, 0x3d, 0x8f, 0x28, 0x0f, 0x8f, 0xc2, 0xa3,
        0x60, 0x08, 0x00, 0x00, 0x56, 0x05, 0xc1, 0x1f,
        0x00, 0x4f, 0x00, 0x0f, 0x00, 0x00, 0x07, 0x80,
-       0x85, 0x01, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00,
+       0x00, 0x80, 0x28, 0x00, 0x00, 0x10, 0x43, 0x09,
        0x05, 0x01, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00 };
 
 static u_char ras_cas_tab[] = {
@@ -110,7 +110,6 @@
                }
        }
 
-
        vgaw(ba, GREG_MISC_OUTPUT_W,      0x63);
        vgaw(ba, GREG_VIDEOSYSENABLE,     0x01);
        WCrt(ba, 0x17               ,     0x00); /* color */
@@ -142,7 +141,7 @@
        /* CRT registers */
        for (i = 0; i < 0x3e; i++)
                WCrt(ba, i, crt_tab[i]);
-                
+
        /* GCT registers */
        for (i = 0; i < 0x09; i++)
                WGfx(ba, i, gfx_tab[i]);



Home | Main Index | Thread Index | Old Index