summaryrefslogtreecommitdiff
path: root/src/aticlock.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2008-01-26 19:28:05 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2008-01-26 19:50:53 +0200
commitb7de4ff52cfbdd85ee65000613632e21b92af24e (patch)
treeedbbd7546cb4bb4329a63f5f546e5d94af0031d1 /src/aticlock.c
parent09d713aa0ed6367b4457420b3c2832fe8eca9b00 (diff)
mach64: add hint for sparc and minor cosmetic.
Diffstat (limited to 'src/aticlock.c')
-rw-r--r--src/aticlock.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/aticlock.c b/src/aticlock.c
index 2aa65c48..8dd79d42 100644
--- a/src/aticlock.c
+++ b/src/aticlock.c
@@ -139,6 +139,16 @@ ATIClockPreInit
(double)pATI->ReferenceNumerator /
((double)pATI->ReferenceDenominator * 1000.0));
+#if defined(__sparc__)
+ if (pATI->ReferenceNumerator != 315000 &&
+ pATI->ReferenceDenominator != 11)
+ {
+ xf86DrvMsg(pScreenInfo->scrnIndex, X_INFO,
+ "If modes do not work on Ultra 5/10 or Blade 100/150,\n"
+ "set option \"reference_clock\" to \"28.636 MHz\"\n");
+ }
+#endif
+
if (pATI->ProgrammableClock == ATI_CLOCK_CH8398)
{ /* First two are fixed */
pScreenInfo->numClocks = 2;