diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-11-26 16:21:34 +0100 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-11-26 16:21:34 +0100 |
commit | 4778901bb13a950285c55ea6f058e94ee7b03652 (patch) | |
tree | 4acb5e421561a2a2fd4346af94e817a52039fa8b | |
parent | f9d83ad601c8cba197e96f0b907f1dae6134953b (diff) |
Removed a duplicated register definition.
-rw-r--r-- | src/mga_dacG.c | 3 | ||||
-rw-r--r-- | src/mga_reg.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mga_dacG.c b/src/mga_dacG.c index 3395ef0..71f4dc6 100644 --- a/src/mga_dacG.c +++ b/src/mga_dacG.c @@ -332,7 +332,8 @@ MGAGInit(ScrnInfoPtr pScrn, DisplayModePtr mode) break; case PCI_CHIP_MGAG100: case PCI_CHIP_MGAG100_PCI: - pReg->DacRegs[ MGAGDAC_XVREFCTRL ] = 0x03; + pReg->DacRegs[MGA1064_VREF_CTL] = 0x03; + if(pMga->HasSDRAM) { if(pMga->OverclockMem) { /* 220 Mhz */ diff --git a/src/mga_reg.h b/src/mga_reg.h index 37e9e0d..cbf9157 100644 --- a/src/mga_reg.h +++ b/src/mga_reg.h @@ -355,7 +355,6 @@ #define MGA1064_MUL_CTL_G16V16bits 0x06 #define MGA1064_MUL_CTL_32_24bits 0x07 -#define MGAGDAC_XVREFCTRL 0x18 #define MGA1064_PIX_CLK_CTL 0x1a #define MGA1064_PIX_CLK_CTL_CLK_DIS ( 0x01 << 2 ) #define MGA1064_PIX_CLK_CTL_CLK_POW_DOWN ( 0x01 << 3 ) |