Module Name:    xsrc
Committed By:   macallan
Date:           Wed Mar  3 03:06:50 UTC 2010

Modified Files:
        xsrc/external/mit/xf86-video-ati/dist/src: legacy_crtc.c

Log Message:
treat the onboard radeon found in Mac Minis like the ones found in iBooks
>From Hiroaki Urata via PR 42931


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 \
    xsrc/external/mit/xf86-video-ati/dist/src/legacy_crtc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-ati/dist/src/legacy_crtc.c
diff -u xsrc/external/mit/xf86-video-ati/dist/src/legacy_crtc.c:1.1.1.3 xsrc/external/mit/xf86-video-ati/dist/src/legacy_crtc.c:1.2
--- xsrc/external/mit/xf86-video-ati/dist/src/legacy_crtc.c:1.1.1.3	Mon Nov  9 00:51:53 2009
+++ xsrc/external/mit/xf86-video-ati/dist/src/legacy_crtc.c	Wed Mar  3 03:06:50 2010
@@ -305,7 +305,8 @@
 
 #if defined(__powerpc__)
     /* apparently restoring the pll causes a hang??? */
-    if (info->MacModel == RADEON_MAC_IBOOK)
+    if ((info->MacModel == RADEON_MAC_IBOOK) ||
+        (info->MacModel == RADEON_MAC_MINI_INTERNAL))
 	return;
 #endif
 
@@ -1242,7 +1243,8 @@
 
 #if defined(__powerpc__)
     /* apparently programming this otherwise causes a hang??? */
-    if (info->MacModel == RADEON_MAC_IBOOK)
+    if ((info->MacModel == RADEON_MAC_IBOOK) ||
+        (info->MacModel == RADEON_MAC_MINI_INTERNAL))
 	save->ppll_div_3 = 0x000600ad;
     else
 #endif

Reply via email to