summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Nettleton <jon.nettleton@gmail.com>2007-05-04 20:26:01 +0000
committerJon Nettleton <jon.nettleton@gmail.com>2007-05-04 20:26:01 +0000
commit03a9bd7f0bb90549390521b740094fe9438ff93f (patch)
treeae274831fdba806f7daddca383499cab3fa79918
parent7359e550eafda5847bd46816450695cb58ecc03a (diff)
forgot an include filemodular_i2c_branch
-rw-r--r--ChangeLog8
-rw-r--r--unichrome/i2c_vid.h16
2 files changed, 23 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 320eeb0..860b8c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
-2007-04-30 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
+2007-05-04 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
+
+ * unichrome/i2c_vid.h:
+
+ Forgot to add this file. fixed last changelog date.
+
+2007-05-04 Jon Nettleton <jon-dot-nettleton-at-gmail-dot-com>
* configure.ac:
* unichrome/via_mode.c:
diff --git a/unichrome/i2c_vid.h b/unichrome/i2c_vid.h
new file mode 100644
index 0000000..5a743d2
--- /dev/null
+++ b/unichrome/i2c_vid.h
@@ -0,0 +1,16 @@
+/* this needs to go in the server */
+#ifndef I2C_VID_H
+#define I2C_VID_H
+
+typedef struct _I830I2CVidOutputRec {
+ void *(*Detect)(I2CBusPtr b, I2CSlaveAddr addr);
+ Bool (*Init)(I2CDevPtr d);
+ ModeStatus (*ModeValid)(I2CDevPtr d, DisplayModePtr mode);
+ void (*Mode)(I2CDevPtr d, DisplayModePtr mode);
+ void (*Power)(I2CDevPtr d, Bool On);
+ void (*PrintRegs)(I2CDevPtr d);
+ void (*SaveRegs)(I2CDevPtr d);
+ void (*RestoreRegs)(I2CDevPtr d);
+} I830I2CVidOutputRec, *I830I2CVidOutputPtr;
+
+#endif