summaryrefslogtreecommitdiff
path: root/driver/xf86-video-r128/src/r128_driver.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-09-06 15:45:44 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-09-06 15:45:44 +0000
commit6d29d2deb77299e537a0daf2babf0e217ce51376 (patch)
tree930965e1ef4acb321715d96df60bba1eb5c2e71b /driver/xf86-video-r128/src/r128_driver.c
parentdac1489af6a4ac38b1413a232146c769c0d3c9b4 (diff)
On powerpc, only set "UseFBDev" option to true by default on Linux.
Diffstat (limited to 'driver/xf86-video-r128/src/r128_driver.c')
-rw-r--r--driver/xf86-video-r128/src/r128_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/xf86-video-r128/src/r128_driver.c b/driver/xf86-video-r128/src/r128_driver.c
index 68a956b30..33ae0c3d3 100644
--- a/driver/xf86-video-r128/src/r128_driver.c
+++ b/driver/xf86-video-r128/src/r128_driver.c
@@ -2025,7 +2025,7 @@ Bool R128PreInit(ScrnInfoPtr pScrn, int flags)
xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "ShowCache enabled\n");
}
-#ifdef __powerpc__
+#if defined(__powerpc__) && defined(__linux__)
if (xf86ReturnOptValBool(info->Options, OPTION_FBDEV, TRUE))
#else
if (xf86ReturnOptValBool(info->Options, OPTION_FBDEV, FALSE))