From 07792ef41f33aa5419168263637e34ee614f26e2 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 26 Sep 2011 22:38:17 -0400 Subject: Remove calls to xf86IsPc98() Reviewed-by: Jamey Sharp Signed-off-by: Matt Turner --- src/mga_driver.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/mga_driver.c') diff --git a/src/mga_driver.c b/src/mga_driver.c index dcbfabf..4af36ca 100644 --- a/src/mga_driver.c +++ b/src/mga_driver.c @@ -2164,7 +2164,7 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags) /* * Reset card if it isn't primary one */ - if ( (!pMga->Primary && !pMga->FBDev) || xf86IsPc98() ) + if ( (!pMga->Primary && !pMga->FBDev) ) MGASoftReset(pScrn); if (pScrn->videoRam == 0) { @@ -2878,13 +2878,6 @@ MGAModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode) vgaHWProtect(pScrn, FALSE); } - if (xf86IsPc98()) { - if (pMga->Chipset == PCI_CHIP_MGA2064) - outb(0xfac, 0x01); - else - outb(0xfac, 0x02); - } - /* Reset tagfifo*/ if (pMga->is_G200ER) { @@ -3680,8 +3673,6 @@ MGALeaveVT(int scrnIndex, int flags) MGARestore(pScrn); vgaHWLock(hwp); - if (xf86IsPc98()) - outb(0xfac, 0x00); #ifdef XF86DRI if (pMga->directRenderingEnabled) { pScreen = screenInfo.screens[scrnIndex]; @@ -3755,9 +3746,6 @@ MGACloseScreen(int scrnIndex, ScreenPtr pScreen) pScrn->vtSema = FALSE; - if (xf86IsPc98()) - outb(0xfac, 0x00); - xf86ClearPrimInitDone(pScrn->entityList[0]); if(pMga->BlockHandler) -- cgit v1.2.3