From c61961e23d379b76921ce797fdfec377d2c1abea Mon Sep 17 00:00:00 2001 From: "Y.C. Chen" Date: Fri, 16 Jan 2009 15:00:56 +0800 Subject: Fixed the support mode issue on Solaris 10 x86 --- ChangeLog | 4 ++++ configure.ac | 2 +- src/ast_driver.c | 2 +- src/ast_vgatool.c | 4 ++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7b09213..5ea7df7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-01-16 Y.C. Chen + * 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); -- cgit v1.2.3