Fix lossage with the et4000. Some of the CRT registers were incorrect.
This commit is contained in:
parent
50f0c49606
commit
9a13ebbdd6
|
@ -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 @@ static u_char crt_tab[] = {
|
|||
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 @@ tseng_init(pc, tag, id, ba, fb)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
vgaw(ba, GREG_MISC_OUTPUT_W, 0x63);
|
||||
vgaw(ba, GREG_VIDEOSYSENABLE, 0x01);
|
||||
WCrt(ba, 0x17 , 0x00); /* color */
|
||||
|
@ -142,7 +141,7 @@ tseng_init(pc, tag, id, ba, fb)
|
|||
/* 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]);
|
||||
|
|
Loading…
Reference in New Issue