- enable maven support for TV detection, DPMS, and DDC on crtc2 on G400

(Ryan Underwood) (http://bugs.xfree86.org/show_bug.cgi?id=1098)
- expose I2CStart; needed for mga maven support (Ryan Underwood)
This commit is contained in:
Alex Deucher 2004-07-27 02:50:41 +00:00
parent 2a7b137d41
commit 19002e47a0
2 changed files with 3 additions and 0 deletions

View File

@ -818,6 +818,7 @@ xf86I2CBusInit(I2CBusPtr b)
if (b->I2CPutByte == NULL ||
b->I2CGetByte == NULL ||
b->I2CAddress == NULL ||
b->I2CStart == NULL ||
b->I2CStop == NULL)
return FALSE;
} else {
@ -825,6 +826,7 @@ xf86I2CBusInit(I2CBusPtr b)
b->I2CGetByte = I2CGetByte;
b->I2CAddress = I2CAddress;
b->I2CStop = I2CStop;
b->I2CStart = I2CStart;
}
}

View File

@ -27,6 +27,7 @@ typedef struct _I2CBusRec {
/* Look at the generic routines to see how these functions should behave. */
Bool (*I2CStart) (I2CBusPtr b, int timeout);
Bool (*I2CAddress)(I2CDevPtr d, I2CSlaveAddr);
void (*I2CStop) (I2CDevPtr d);
Bool (*I2CPutByte)(I2CDevPtr d, I2CByte data);