diff options
author | Yannick Heneault <yheneaul@matrox.com> | 2009-11-10 09:21:24 -0500 |
---|---|---|
committer | Yannick Heneault <yheneaul@matrox.com> | 2009-11-10 09:21:24 -0500 |
commit | 5d4144e6c2912292c3552a45e4a0a3c127cad013 (patch) | |
tree | 9b4eb28ccd252afe7611adb213c4bd485871ee55 | |
parent | 860d42232f7fa18805334746e7e9415c4ae50aa3 (diff) |
Removed DDC1 support for G200eW.
-rw-r--r-- | src/mga_dacG.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/mga_dacG.c b/src/mga_dacG.c index aadd8aa..7d4cbfb 100644 --- a/src/mga_dacG.c +++ b/src/mga_dacG.c @@ -1818,9 +1818,14 @@ void MGAGSetupFuncs(ScrnInfoPtr pScrn) pMga->Save = MGAGSave; pMga->Restore = MGAGRestore; pMga->ModeInit = MGAGInit; - pMga->ddc1Read = MGAG_ddc1Read; - /* vgaHWddc1SetSpeed will only work if the card is in VGA mode */ - pMga->DDC1SetSpeed = vgaHWddc1SetSpeedWeak(); + if (!pMga->is_G200WB){ + pMga->ddc1Read = MGAG_ddc1Read; + /* vgaHWddc1SetSpeed will only work if the card is in VGA mode */ + pMga->DDC1SetSpeed = vgaHWddc1SetSpeedWeak(); + } else { + pMga->ddc1Read = NULL; + pMga->DDC1SetSpeed = NULL; + } pMga->i2cInit = MGAG_i2cInit; } |