summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/r128_driver.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/r128_driver.c b/src/r128_driver.c
index fb9dd6dd..6b756332 100644
--- a/src/r128_driver.c
+++ b/src/r128_driver.c
@@ -1916,7 +1916,12 @@ Bool R128PreInit(ScrnInfoPtr pScrn, int flags)
xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "ShowCache enabled\n");
}
- if (xf86ReturnOptValBool(info->Options, OPTION_FBDEV, FALSE)) {
+#ifdef __powerpc__
+ if (xf86ReturnOptValBool(info->Options, OPTION_FBDEV, TRUE))
+#else
+ if (xf86ReturnOptValBool(info->Options, OPTION_FBDEV, FALSE))
+#endif
+ {
info->FBDev = TRUE;
xf86DrvMsg(pScrn->scrnIndex, X_CONFIG,
"Using framebuffer device\n");