diff options
Diffstat (limited to 'src/legacy')
-rw-r--r-- | src/legacy/i810/i810.h | 4 | ||||
-rw-r--r-- | src/legacy/i810/i810_dga.c | 6 | ||||
-rw-r--r-- | src/legacy/i810/i810_dri.c | 2 | ||||
-rw-r--r-- | src/legacy/i810/i810_driver.c | 14 |
4 files changed, 13 insertions, 13 deletions
diff --git a/src/legacy/i810/i810.h b/src/legacy/i810/i810.h index 512d07ee..a07fb699 100644 --- a/src/legacy/i810/i810.h +++ b/src/legacy/i810/i810.h @@ -42,7 +42,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "compiler.h" #include "xf86Pci.h" #include "i810_reg.h" -#ifdef HAVE_XAA +#ifdef HAVE_XAA_H #include "xaa.h" #endif #include "xf86Cursor.h" @@ -204,7 +204,7 @@ typedef struct _I810Rec { I810RegRec SavedReg; I810RegRec ModeReg; -#ifdef XAA +#ifdef HAVE_XAA_H XAAInfoRecPtr AccelInfoRec; #endif xf86CursorInfoPtr CursorInfoRec; diff --git a/src/legacy/i810/i810_dga.c b/src/legacy/i810/i810_dga.c index e258360e..81e17672 100644 --- a/src/legacy/i810/i810_dga.c +++ b/src/legacy/i810/i810_dga.c @@ -40,7 +40,7 @@ static Bool I810_SetMode(ScrnInfoPtr, DGAModePtr); static int I810_GetViewport(ScrnInfoPtr); static void I810_SetViewport(ScrnInfoPtr, int, int, int); -#ifdef HAVE_XAA +#ifdef HAVE_XAA_H static void I810_Sync(ScrnInfoPtr); static void I810_FillRect(ScrnInfoPtr, int, int, int, int, unsigned long); static void I810_BlitRect(ScrnInfoPtr, int, int, int, int, int, int); @@ -58,7 +58,7 @@ DGAFunctionRec I810DGAFuncs = { I810_SetMode, I810_SetViewport, I810_GetViewport, -#ifdef HAVE_XAA +#ifdef HAVE_XAA_H I810_Sync, I810_FillRect, I810_BlitRect, @@ -193,7 +193,7 @@ I810_SetViewport(ScrnInfoPtr pScrn, int x, int y, int flags) pI810->DGAViewportStatus = 0; } -#ifdef HAVE_XAA +#ifdef HAVE_XAA_H static void I810_FillRect(ScrnInfoPtr pScrn, int x, int y, int w, int h, unsigned long color) diff --git a/src/legacy/i810/i810_dri.c b/src/legacy/i810/i810_dri.c index 0f891bbf..f2643f54 100644 --- a/src/legacy/i810/i810_dri.c +++ b/src/legacy/i810/i810_dri.c @@ -1011,7 +1011,7 @@ I810DRISwapContext(ScreenPtr pScreen, DRISyncType syncType, static void I810DRISetNeedSync(ScrnInfoPtr pScrn) { -#ifdef HAVE_XAA +#ifdef HAVE_XAA_H I810Ptr pI810 = I810PTR(pScrn); if (pI810->AccelInfoRec) pI810->AccelInfoRec->NeedToSync = TRUE; diff --git a/src/legacy/i810/i810_driver.c b/src/legacy/i810/i810_driver.c index f4f7f3e3..6fc17bd0 100644 --- a/src/legacy/i810/i810_driver.c +++ b/src/legacy/i810/i810_driver.c @@ -1095,7 +1095,7 @@ DoRestore(ScrnInfoPtr scrn, vgaRegPtr vgaReg, I810RegPtr i810Reg, hwp->writeCrtc(hwp, IO_CTNL, temp); } -#ifdef HAVE_XAA +#ifdef HAVE_XAA_H static void I810SetRingRegs(ScrnInfoPtr scrn) { @@ -1693,7 +1693,7 @@ I810ScreenInit(SCREEN_INIT_ARGS_DECL) } #endif -#ifdef HAVE_DGA +#ifdef HAVE_DGAPROC_H I810DGAInit(screen); #endif @@ -1703,7 +1703,7 @@ I810ScreenInit(SCREEN_INIT_ARGS_DECL) return FALSE; } -#ifdef HAVE_XAA +#ifdef HAVE_XAA_H if (!xf86ReturnOptValBool(pI810->Options, OPTION_NOACCEL, FALSE)) { if (pI810->LpRing->mem.Size != 0) { I810SetRingRegs(scrn); @@ -1943,7 +1943,7 @@ I810LeaveVT(VT_FUNC_ARGS_DECL) } #endif -#ifdef HAVE_XAA +#ifdef HAVE_XAA_H if (pI810->AccelInfoRec != NULL) { I810RefreshRing(scrn); I810Sync(scrn); @@ -1968,12 +1968,12 @@ I810CloseScreen(CLOSE_SCREEN_ARGS_DECL) ScrnInfoPtr scrn = xf86ScreenToScrn(screen); vgaHWPtr hwp = VGAHWPTR(scrn); I810Ptr pI810 = I810PTR(scrn); -#ifdef HAVE_XAA +#ifdef HAVE_XAA_H XAAInfoRecPtr infoPtr = pI810->AccelInfoRec; #endif if (scrn->vtSema == TRUE) { -#ifdef HAVE_XAA +#ifdef HAVE_XAA_H if (pI810->AccelInfoRec != NULL) { I810RefreshRing(scrn); I810Sync(scrn); @@ -2004,7 +2004,7 @@ I810CloseScreen(CLOSE_SCREEN_ARGS_DECL) pI810->ScanlineColorExpandBuffers = NULL; } -#ifdef HAVE_XAA +#ifdef HAVE_XAA_H if (infoPtr) { if (infoPtr->ScanlineColorExpandBuffers) free(infoPtr->ScanlineColorExpandBuffers); |