Use usleep instead of xf86UDelay

Signed-off-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Matt Turner
2009-11-07 00:29:33 -05:00
committed by Alan Coopersmith
parent 49be03ad08
commit ccbc6669cd
2 changed files with 4 additions and 4 deletions

View File

@@ -82,7 +82,7 @@
ErrorF("timeout\n"); \
tmp = cPtr->readXR(cPtr, 0x20); \
cPtr->writeXR(cPtr, 0x20, ((tmp & 0xFD) | 0x2)); \
xf86UDelay(10000); \
usleep(10000); \
cPtr->writeXR(cPtr, 0x20, (tmp & 0xFD)); \
break; \
} \

View File

@@ -3725,12 +3725,12 @@ CHIPSEnterVT(int scrnIndex, int flags)
&& (cPtr->Flags & ChipsLinearSupport))
CHIPSResetVideo(pScrn);
/*xf86UDelay(50000);*/
/*usleep(50000);*/
chipsHWCursorOn(cPtr, pScrn);
/* cursor settle delay */
xf86UDelay(50000);
usleep(50000);
CHIPSAdjustFrame(pScrn->scrnIndex, pScrn->frameX0, pScrn->frameY0, 0);
xf86UDelay(50000);
usleep(50000);
return TRUE;
}