diff options
-rw-r--r-- | src/init.h | 3 | ||||
-rw-r--r-- | src/xgi.h | 10 | ||||
-rw-r--r-- | src/xgi_driver.c | 8 | ||||
-rw-r--r-- | src/xgi_opt.c | 18 |
4 files changed, 2 insertions, 37 deletions
@@ -65,9 +65,6 @@ #endif #ifdef LINUX_KERNEL -#ifdef XGI_CP -#undef XGI_CP -#endif #include <linux/config.h> #include <linux/version.h> #include <linux/types.h> @@ -136,8 +136,6 @@ extern Bool g_bRunTimeDebug; /* Always unlock the registers (should be set!) */ #define UNLOCK_ALWAYS -#undef XGI_CP - #ifdef XSERVER_LIBPCIACCESS #include <pciaccess.h> #else @@ -538,10 +536,6 @@ typedef struct { unsigned char *RenderAccelArray; unsigned char * FbBase1; unsigned long OnScreenSize1; - -#ifdef XGI_CP - XGI_CP_H_ENT -#endif } XGIEntRec, *XGIEntPtr; #define XGIPTR(p) ((XGIPtr)((p)->driverPrivate)) @@ -779,9 +773,7 @@ typedef struct { Atom xvDisableColorkey, xvUseChromakey, xvChromaMin, xvChromaMax; Atom xvInsideChromakey, xvYUVChromakey; Atom xvGammaRed, xvGammaGreen, xvGammaBlue; -#ifdef XGI_CP - XGI_CP_H -#endif + unsigned long ChipFlags; unsigned long XGI_SD_Flags; BOOLEAN UseHWARGBCursor; diff --git a/src/xgi_driver.c b/src/xgi_driver.c index 80d5218..1fad69a 100644 --- a/src/xgi_driver.c +++ b/src/xgi_driver.c @@ -3356,9 +3356,6 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags) } } -#ifdef XGI_CP - XGI_CP_DRIVER_RECONFIGOPT -#endif /* Do some MergedFB mode initialisation */ #ifdef XGIMERGED if (pXGI->MergedFB) { @@ -5974,10 +5971,7 @@ XGIPreSetMode(ScrnInfoPtr pScrn, DisplayModePtr mode, int viewmode) } CR31 &= ~0x04; /* Clear NotSimuMode */ -#ifdef XGI_CP - XGI_CP_DRIVER_CONFIG -#endif - break; + break; case CRT2_LCD: CR30 |= 0x20; diff --git a/src/xgi_opt.c b/src/xgi_opt.c index 4dda66c..d3185f1 100644 --- a/src/xgi_opt.c +++ b/src/xgi_opt.c @@ -102,9 +102,6 @@ typedef enum { OPTION_IGNORE_DDC, /* Jong@09032009 */ OPTION_NONDDC_DEFAULT_MODE, /* Jong@09042009 */ OPTION_GAMMA_RGB, /* Jong@09092009 */ -#ifdef XGI_CP - XGI_CP_OPT_OPTIONS -#endif OPTION_PSEUDO } XGIOpts; @@ -169,9 +166,6 @@ static const OptionInfoRec XGIOptions[] = { { OPTION_CRT2ISSCRN0, "MergedXineramaCRT2IsScreen0",OPTV_BOOLEAN,{0},FALSE }, #endif #endif -#ifdef XGI_CP - XGI_CP_OPTION_DETAIL -#endif { -1, NULL, OPTV_NONE, {0}, FALSE } }; @@ -265,10 +259,6 @@ xgiOptions(ScrnInfoPtr pScrn) pXGI->CRT2IsScrn0 = FALSE; #endif #endif -#ifdef XGI_CP - XGI_CP_OPT_DEFAULT -#endif - /* Collect the options */ @@ -486,9 +476,6 @@ xgiOptions(ScrnInfoPtr pScrn) if(xf86GetOptValBool(pXGI->Options, OPTION_CRT2GAMMA, &val)) { xf86DrvMsg(pScrn->scrnIndex, X_WARNING, mystring, "CRT2Gamma"); } -#ifdef XGI_CP - XGI_CP_OPT_DH_WARN -#endif } else { /* TurboQueue */ @@ -499,11 +486,6 @@ xgiOptions(ScrnInfoPtr pScrn) } xf86DrvMsg(pScrn->scrnIndex, from, "TurboQueue %s\n", pXGI->TurboQueue ? enabledstr : disabledstr); - -#ifdef XGI_CP - XGI_CP_OPT_DOOPT -#endif - } /* DualHead */ /* CRT1Gamma - enable/disable gamma correction for CRT1 |