vgaHWRestore(pScrn, vgaReg, VGA_SR_MODE|(IsPrimaryCard ? VGA_SR_FONTS : 0));
vgaHWRestore(pScrn, vgaReg, VGA_SR_MODE | VGA_SR_CMAP | (IsPrimaryCard ? VGA_SR_FONTS : 0));
TRIDENTRestore(ScrnInfoPtr pScrn){    vgaHWPtr hwp;    vgaRegPtr vgaReg;    TRIDENTPtr pTrident;    TRIDENTRegPtr tridentReg;    hwp = VGAHWPTR(pScrn);    pTrident = TRIDENTPTR(pScrn);    vgaReg = &hwp->SavedReg;    tridentReg = &pTrident->SavedReg;    vgaHWProtect(pScrn, TRUE);    if (pScrn->progClock)    	TridentRestore(pScrn, tridentReg);    else	TVGARestore(pScrn, tridentReg);    vgaHWRestore(pScrn, vgaReg, VGA_SR_MODE|(IsPrimaryCard ? VGA_SR_FONTS : 0));    vgaHWProtect(pScrn, FALSE);}