diff options
author | Alex Deucher <alex@botch2.(none)> | 2008-01-05 12:00:55 -0500 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2008-01-05 12:00:55 -0500 |
commit | 45656b9d5a426053da2a094de39c2690c0c6f799 (patch) | |
tree | 9f4dd3300b60cad1eedf5199411f984e7a24f9ef /src/r128_driver.c | |
parent | b8e8db4675d07e45782de0d7c67ee0fd85eaedb3 (diff) |
R128: Like powerpc, don't use VGA by default on sparc
Diffstat (limited to 'src/r128_driver.c')
-rw-r--r-- | src/r128_driver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/r128_driver.c b/src/r128_driver.c index 6e26a6ef..9c41b7bc 100644 --- a/src/r128_driver.c +++ b/src/r128_driver.c @@ -1376,7 +1376,7 @@ static Bool R128PreInitConfig(ScrnInfoPtr pScrn) static Bool R128PreInitDDC(ScrnInfoPtr pScrn, xf86Int10InfoPtr pInt10) { -#if !defined(__powerpc__) && !defined(__alpha__) +#if !defined(__powerpc__) && !defined(__alpha__) && !defined(__sparc__) R128InfoPtr info = R128PTR(pScrn); vbeInfoPtr pVbe; #endif @@ -1384,7 +1384,7 @@ static Bool R128PreInitDDC(ScrnInfoPtr pScrn, xf86Int10InfoPtr pInt10) if (!xf86LoadSubModule(pScrn, "ddc")) return FALSE; xf86LoaderReqSymLists(ddcSymbols, NULL); -#if defined(__powerpc__) || defined(__alpha__) +#if defined(__powerpc__) || defined(__alpha__) || defined(__sparc__) /* Int10 is broken on PPC and some Alphas */ return TRUE; #else @@ -2127,7 +2127,7 @@ Bool R128PreInit(ScrnInfoPtr pScrn, int flags) xf86ProcessOptions(pScrn->scrnIndex, pScrn->options, info->Options); /* By default, don't do VGA IOs on ppc */ -#if defined(__powerpc__) || !defined(WITH_VGAHW) +#if defined(__powerpc__) || defined(__sparc__) || !defined(WITH_VGAHW) info->VGAAccess = FALSE; #else info->VGAAccess = TRUE; |