From 6e0d5cc1c62fbfc1962fa0d6333f0c0a8c6327bd Mon Sep 17 00:00:00 2001 From: David Miller Date: Wed, 26 Dec 2007 02:17:34 -0500 Subject: [RADEON]: Like powerpc, don't use VGA by default on sparc. --- src/radeon_driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 7ce92361..f5167b76 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -2111,7 +2111,7 @@ static Bool RADEONPreInitAccel(ScrnInfoPtr pScrn) static Bool RADEONPreInitInt10(ScrnInfoPtr pScrn, xf86Int10InfoPtr *ppInt10) { -#if !defined(__powerpc__) +#if !defined(__powerpc__) && !defined(__sparc__) RADEONInfoPtr info = RADEONPTR(pScrn); unsigned char *RADEONMMIO = info->MMIO; CARD32 fp2_gen_ctl_save = 0; @@ -2826,8 +2826,8 @@ _X_EXPORT Bool RADEONPreInit(ScrnInfoPtr pScrn, int flags) memcpy(info->Options, RADEONOptions, sizeof(RADEONOptions)); xf86ProcessOptions(pScrn->scrnIndex, pScrn->options, info->Options); - /* By default, don't do VGA IOs on ppc */ -#if defined(__powerpc__) || !defined(WITH_VGAHW) + /* By default, don't do VGA IOs on ppc/sparc */ +#if defined(__powerpc__) || defined(__sparc__) || !defined(WITH_VGAHW) info->VGAAccess = FALSE; #else info->VGAAccess = TRUE; -- cgit v1.2.3