diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-06-16 09:26:53 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-06-16 09:26:53 +0000 |
commit | 057949f434a1c0d751dad5ec3ef154f2feee26ef (patch) | |
tree | fc55922f5e41ad88fb584e70963c68b5b8c4b5a6 /src/savage_i2c.c | |
parent | 58aca915bb0a28c6f59a7a6c14b72b034d245035 (diff) |
DRI trunk-20040613 importDRI-trunk-20040721DRI-trunk-20040613COMPOSITEWRAP
Diffstat (limited to 'src/savage_i2c.c')
-rw-r--r-- | src/savage_i2c.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/savage_i2c.c b/src/savage_i2c.c index 01ac3e2..f3bda84 100644 --- a/src/savage_i2c.c +++ b/src/savage_i2c.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/savage/savage_i2c.c,v 1.3 2002/10/02 20:39:55 alanh Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/savage/savage_i2c.c,v 1.1 2001/02/13 21:15:19 dawes Exp $ */ /* Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved. @@ -48,7 +48,8 @@ SavageI2CPutBits(I2CBusPtr b, int clock, int data) if(clock) reg |= 0x1; if(data) reg |= 0x2; - OutI2CREG(psav,reg); + /*OutI2CREG(psav,reg);*/ /*tim*/ + OutI2CREG(reg,psav->DDCPort); /*s3*/ /*ErrorF("SavageI2CPutBits: %d %d\n", clock, data); */ } @@ -59,7 +60,8 @@ SavageI2CGetBits(I2CBusPtr b, int *clock, int *data) SavagePtr psav = SAVPTR(pScrn); unsigned char reg = 0x10; - InI2CREG(psav,reg); + /*InI2CREG(psav,reg);*/ /*tim*/ + InI2CREG(reg,psav->DDCPort); /*s3*/ *clock = reg & 0x4; *data = reg & 0x8; |