diff options
author | Y.C. Chen <yc_chen@aspeedtech.com> | 2009-01-16 15:00:56 +0800 |
---|---|---|
committer | Y.C. Chen <yc_chen@aspeedtech.com> | 2009-01-16 15:00:56 +0800 |
commit | c61961e23d379b76921ce797fdfec377d2c1abea (patch) | |
tree | 99ac4bc405e904fe7c7e9f0371772c299352a7ee | |
parent | 619ec11075571f80de2c4556e324e4c04555ec90 (diff) |
Fixed the support mode issue on Solaris 10 x86xf86-video-ast-0.88.8
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/ast_driver.c | 2 | ||||
-rw-r--r-- | src/ast_vgatool.c | 4 |
4 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2009-01-16 Y.C. Chen <yc_chen@aspedtech.com> + * src/ast_driver.c + - Fixed Support Modes Incorrect Issues on Solaris 10 x86 + 2009-01-08 Y.C. Chen >yc_chen@aspedtech.com> * src/ast.h * src/ast_driver.c diff --git a/configure.ac b/configure.ac index 9f7bbf4..167c1cc 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_PREREQ(2.57) AC_INIT([xf86-video-ast], - 0.88.7, + 0.88.8, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xf86-video-ast) diff --git a/src/ast_driver.c b/src/ast_driver.c index 7718c29..920987b 100644 --- a/src/ast_driver.c +++ b/src/ast_driver.c @@ -602,7 +602,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags) from = X_CONFIG; } else { if (PCI_REGION_BASE(pAST->PciInfo, 1, REGION_MEM)) { - pAST->MMIOPhysAddr = PCI_REGION_BASE(pAST->PciInfo, 1, REGION_IO) & 0xFFFF0000; + pAST->MMIOPhysAddr = PCI_REGION_BASE(pAST->PciInfo, 1, REGION_MEM) & 0xFFFF0000; from = X_PROBED; } else { xf86DrvMsg(pScrn->scrnIndex, X_INFO, 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); |