summaryrefslogtreecommitdiff
path: root/src/mga_dac3026.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-09-15 16:34:01 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-09-15 16:34:01 +0000
commit4e817ed76a09bbbf4bdbd5a840907eb03c31bf5c (patch)
tree1fa5b167e4a81565f3d0839b52a220d01cbd98eb /src/mga_dac3026.c
parenta4e8e48b089815fbdf28fa9b2205451725cf24d3 (diff)
Diffstat (limited to 'src/mga_dac3026.c')
-rw-r--r--src/mga_dac3026.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mga_dac3026.c b/src/mga_dac3026.c
index 7cbec19..ecd0605 100644
--- a/src/mga_dac3026.c
+++ b/src/mga_dac3026.c
@@ -1033,7 +1033,7 @@ MGA3026_i2cInit(ScrnInfoPtr pScrn)
I2CPtr = xf86CreateI2CBusRec();
if(!I2CPtr) return FALSE;
- pMga->I2C = I2CPtr;
+ pMga->DDC_Bus1 = I2CPtr;
I2CPtr->BusName = "DDC";
I2CPtr->scrnIndex = pScrn->scrnIndex;
@@ -1282,6 +1282,6 @@ void MGA2064SetupFuncs(ScrnInfoPtr pScrn)
pMga->ModeInit = MGA3026Init;
pMga->ddc1Read = MGA3026_ddc1Read;
/* vgaHWddc1SetSpeed will only work if the card is in VGA mode */
- pMga->DDC1SetSpeed = vgaHWddc1SetSpeed;
+ pMga->DDC1SetSpeed = vgaHWddc1SetSpeedWeak();
pMga->i2cInit = MGA3026_i2cInit;
}