- 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:
parent
2a7b137d41
commit
19002e47a0
|
@ -818,6 +818,7 @@ xf86I2CBusInit(I2CBusPtr b)
|
||||||
if (b->I2CPutByte == NULL ||
|
if (b->I2CPutByte == NULL ||
|
||||||
b->I2CGetByte == NULL ||
|
b->I2CGetByte == NULL ||
|
||||||
b->I2CAddress == NULL ||
|
b->I2CAddress == NULL ||
|
||||||
|
b->I2CStart == NULL ||
|
||||||
b->I2CStop == NULL)
|
b->I2CStop == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
} else {
|
} else {
|
||||||
|
@ -825,6 +826,7 @@ xf86I2CBusInit(I2CBusPtr b)
|
||||||
b->I2CGetByte = I2CGetByte;
|
b->I2CGetByte = I2CGetByte;
|
||||||
b->I2CAddress = I2CAddress;
|
b->I2CAddress = I2CAddress;
|
||||||
b->I2CStop = I2CStop;
|
b->I2CStop = I2CStop;
|
||||||
|
b->I2CStart = I2CStart;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@ typedef struct _I2CBusRec {
|
||||||
|
|
||||||
/* Look at the generic routines to see how these functions should behave. */
|
/* Look at the generic routines to see how these functions should behave. */
|
||||||
|
|
||||||
|
Bool (*I2CStart) (I2CBusPtr b, int timeout);
|
||||||
Bool (*I2CAddress)(I2CDevPtr d, I2CSlaveAddr);
|
Bool (*I2CAddress)(I2CDevPtr d, I2CSlaveAddr);
|
||||||
void (*I2CStop) (I2CDevPtr d);
|
void (*I2CStop) (I2CDevPtr d);
|
||||||
Bool (*I2CPutByte)(I2CDevPtr d, I2CByte data);
|
Bool (*I2CPutByte)(I2CDevPtr d, I2CByte data);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user