98N/A@@ -650,16 +650,31 @@
98N/A void vEnableVGA(ScrnInfoPtr pScrn)
98N/A pAST = ASTPTR(pScrn);
98N/A SetReg(VGA_ENABLE_PORT, 0x01);
98N/A- SetReg(MISC_PORT_WRITE, 0x01);
98N/A+ * output register, as clearing others bits and accessing the
98N/A+ * frame buffer caused non-resumable errors on sparc.
98N/A+ miscout = GetReg(MISC_PORT_READ);
98N/A+ SetReg(MISC_PORT_WRITE, miscout | 0x01);
98N/A+ * Leave video memory enabled in PCI Control Register #1 (0xa0), as
98N/A+ * accessing the frame buffer with it disabled caused non-resumable
98N/A+ * errors on sparc.
98N/A UCHAR ExtRegInfo[] = {
156N/A UCHAR ExtRegInfo_AST2300A0[] = {
98N/A UCHAR ExtRegInfo_AST2300[] = {