summaryrefslogtreecommitdiff
path: root/src/ast_vgatool.c
diff options
context:
space:
mode:
authorY.C. Chen <yc_chen@aspeedtech.com>2009-01-16 15:00:56 +0800
committerY.C. Chen <yc_chen@aspeedtech.com>2009-01-16 15:00:56 +0800
commitc61961e23d379b76921ce797fdfec377d2c1abea (patch)
tree99ac4bc405e904fe7c7e9f0371772c299352a7ee /src/ast_vgatool.c
parent619ec11075571f80de2c4556e324e4c04555ec90 (diff)
Fixed the support mode issue on Solaris 10 x86xf86-video-ast-0.88.8
Diffstat (limited to 'src/ast_vgatool.c')
-rw-r--r--src/ast_vgatool.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ast_vgatool.c b/src/ast_vgatool.c
index 9319d58..9990cda 100644
--- a/src/ast_vgatool.c
+++ b/src/ast_vgatool.c
@@ -194,9 +194,13 @@ GetMaxDCLK(ScrnInfoPtr pScrn)
/* Add for AST2100, ycchen@061807 */
if ((pAST->jChipType == AST2100) || (pAST->jChipType == AST2200))
+ {
if (ulDCLK > 200) ulDCLK = 200;
+ }
else
+ {
if (ulDCLK > 165) ulDCLK = 165;
+ }
return(ulDCLK);