Lines 114-119
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Link Here
|
114 |
#include <X11/extensions/xf86dgastr.h> |
114 |
#include <X11/extensions/xf86dgastr.h> |
115 |
#endif |
115 |
#endif |
|
|
116 |
#include <unistd.h> |
117 |
|
116 |
/* Mandatory functions */ |
118 |
/* Mandatory functions */ |
117 |
static const OptionInfoRec * NEOAvailableOptions(int chipid, int busid); |
119 |
static const OptionInfoRec * NEOAvailableOptions(int chipid, int busid); |
118 |
static void NEOIdentify(int flags); |
120 |
static void NEOIdentify(int flags); |
Lines 2489-2495
neoRestore(ScrnInfoPtr pScrn, vgaRegPtr VgaReg, NeoRegPtr restore,
Link Here
|
2489 |
* In some rare cases a lockup might occur if we don't delay |
2491 |
* In some rare cases a lockup might occur if we don't delay |
2490 |
* here. (Reported by Miles Lane) |
2492 |
* here. (Reported by Miles Lane) |
2491 |
*/ |
2493 |
*/ |
2492 |
xf86UDelay(200000); |
2494 |
usleep(200000); |
2493 |
/* |
2495 |
/* |
2494 |
* Disable horizontal and vertical graphics and text expansions so |
2496 |
* Disable horizontal and vertical graphics and text expansions so |
2495 |
* that vgaHWRestore works properly. |
2497 |
* that vgaHWRestore works properly. |
Lines 2502-2508
neoRestore(ScrnInfoPtr pScrn, vgaRegPtr VgaReg, NeoRegPtr restore,
Link Here
|
2502 |
* Sleep for 200ms to make sure that the two operations above have |
2504 |
* Sleep for 200ms to make sure that the two operations above have |
2503 |
* had time to take effect. |
2505 |
* had time to take effect. |
2504 |
*/ |
2506 |
*/ |
2505 |
xf86UDelay(200000); |
2507 |
usleep(200000); |
2506 |
/* |
2508 |
/* |
2507 |
* This function handles restoring the generic VGA registers. */ |
2509 |
* This function handles restoring the generic VGA registers. */ |
2508 |
vgaHWRestore(pScrn, VgaReg, |
2510 |
vgaHWRestore(pScrn, VgaReg, |
2509 |
- |
|
|