606N/AFixes Sun bug 6526933: Matrox MGA chip (embedded in ServerEngines "Pilot" BSC)
606N/Adoes not work with vesa driver
606N/A@@ -1450,19 +1450,19 @@ SaveFonts(ScrnInfoPtr pScrn)
301N/A WriteGr(0x06, 0x05); /* set graphics */
301N/A slowbcopy_frombus(pVesa->VGAbase, pVesa->fonts + 8192, 8192);
301N/A- scrn = ReadSeq(pVesa, 0x01) & ~0x20;
301N/A- SeqReset(pVesa, TRUE);
301N/A- SeqReset(pVesa, FALSE);
301N/A /* Restore clobbered registers */
301N/A WriteAttr(pVesa, 0x10, attr10);
301N/A+ scrn = ReadSeq(pVesa, 0x01) & ~0x20;
301N/A+ SeqReset(pVesa, TRUE);
301N/A+ SeqReset(pVesa, FALSE);
606N/A@@ -1519,11 +1519,6 @@ RestoreFonts(ScrnInfoPtr pScrn)
301N/A WriteGr(0x06, 0x05); /* set graphics */
301N/A slowbcopy_tobus(pVesa->fonts + 8192, pVesa->VGAbase, 8192);
301N/A- scrn = ReadSeq(pVesa, 0x01) & ~0x20;
301N/A- SeqReset(pVesa, TRUE);
301N/A- SeqReset(pVesa, FALSE);
301N/A /* restore the registers that were changed */
301N/A WriteAttr(pVesa, 0x10, attr10);
606N/A@@ -1535,6 +1530,11 @@ RestoreFonts(ScrnInfoPtr pScrn)
301N/A+ scrn = ReadSeq(pVesa, 0x01) & ~0x20;
301N/A+ SeqReset(pVesa, TRUE);
301N/A+ SeqReset(pVesa, FALSE);