diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-12-26 19:45:18 +0100 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-12-26 19:45:18 +0100 |
commit | 7d676a830a9b0c5593e144e15a14dc4aa6bc5ab7 (patch) | |
tree | 4130e8d977136bf6ff798f3641af239f67bc8f20 | |
parent | 787284f420d324821ac31b43f3d915d58533a141 (diff) |
More boring janitoring work.
-rw-r--r-- | src/mga_g450pll.c | 5 | ||||
-rw-r--r-- | 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 |