From 7d676a830a9b0c5593e144e15a14dc4aa6bc5ab7 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Tue, 26 Dec 2006 19:45:18 +0100 Subject: More boring janitoring work. --- src/mga_g450pll.c | 5 ++--- src/mga_reg.h | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mga_g450pll.c b/src/mga_g450pll.c index 69f0497..7407d14 100644 --- a/src/mga_g450pll.c +++ b/src/mga_g450pll.c @@ -274,11 +274,10 @@ static CARD32 G450IsPllLocked(ScrnInfoPtr pScrn, Bool *lpbLocked) MGAPtr pMga = MGAPTR(pScrn); - /* Pixel PLL */ if (!pMga->SecondCrtc) - OUTREG8(0x3c00, 0x4f); /* Pixel PLL */ + OUTREG8(0x3c00, MGA1064_PIX_PLL_STAT); else - OUTREG8(0x3c00, 0x8c); /* Video PLL */ + OUTREG8(0x3c00, MGA1064_VID_PLL_STAT); ulFallBackCounter = 0; diff --git a/src/mga_reg.h b/src/mga_reg.h index 93421d1..020bb0d 100644 --- a/src/mga_reg.h +++ b/src/mga_reg.h @@ -403,6 +403,7 @@ /*Added for G450 dual head*/ +#define MGA1064_VID_PLL_STAT 0x8c #define MGA1064_VID_PLL_P 0x8D #define MGA1064_VID_PLL_M 0x8E #define MGA1064_VID_PLL_N 0x8F -- cgit v1.2.3