summaryrefslogtreecommitdiff
path: root/src/mga_dacG.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-11-26 16:21:34 +0100
committerTilman Sauerbeck <tilman@code-monkey.de>2006-11-26 16:21:34 +0100
commit4778901bb13a950285c55ea6f058e94ee7b03652 (patch)
tree4acb5e421561a2a2fd4346af94e817a52039fa8b /src/mga_dacG.c
parentf9d83ad601c8cba197e96f0b907f1dae6134953b (diff)
Removed a duplicated register definition.
Diffstat (limited to 'src/mga_dacG.c')
-rw-r--r--src/mga_dacG.c3
1 files changed, 2 insertions, 1 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 */