diff options
author | Alex Deucher <agd5f@yahoo.com> | 2004-10-11 23:20:26 +0000 |
---|---|---|
committer | Alex Deucher <agd5f@yahoo.com> | 2004-10-11 23:20:26 +0000 |
commit | 16af70368f042d6a5c54e57affe7c2e00f782baf (patch) | |
tree | df2ab35ac5671bf4a97b247a601d3a7007f23336 /src | |
parent | 83fb89c6e8d75b58134f5068b11f2c3016b9daba (diff) |
- fix resume on radeons (bug 1220)
- clean up some old cruft in the savage i2c code
Diffstat (limited to 'src')
-rw-r--r-- | src/savage_i2c.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/savage_i2c.c b/src/savage_i2c.c index f3bda84..895a74e 100644 --- a/src/savage_i2c.c +++ b/src/savage_i2c.c @@ -48,8 +48,7 @@ SavageI2CPutBits(I2CBusPtr b, int clock, int data) if(clock) reg |= 0x1; if(data) reg |= 0x2; - /*OutI2CREG(psav,reg);*/ /*tim*/ - OutI2CREG(reg,psav->DDCPort); /*s3*/ + OutI2CREG(reg,psav->DDCPort); /*ErrorF("SavageI2CPutBits: %d %d\n", clock, data); */ } @@ -60,8 +59,7 @@ SavageI2CGetBits(I2CBusPtr b, int *clock, int *data) SavagePtr psav = SAVPTR(pScrn); unsigned char reg = 0x10; - /*InI2CREG(psav,reg);*/ /*tim*/ - InI2CREG(reg,psav->DDCPort); /*s3*/ + InI2CREG(reg,psav->DDCPort); *clock = reg & 0x4; *data = reg & 0x8; |