summaryrefslogtreecommitdiff
path: root/hw/xfree86/i2c/bt829_module.c
diff options
context:
space:
mode:
authorVladimir Dergachev <volodya@mindspring.com>2004-09-30 22:58:07 +0000
committerVladimir Dergachev <volodya@mindspring.com>2004-09-30 22:58:07 +0000
commit0d474149f1cb68a60927529f6eac611a12acf5e6 (patch)
tree5a33d2449547355d6fd9cee21f470c663c5cc14c /hw/xfree86/i2c/bt829_module.c
parent1dfafe2aeec864a9bdfd6da3324243b2be8e3a62 (diff)
Initial code from GATOS. This needs to be cleaned up, for example the bt829
code is practically untouched since xatitv (which was a standalone test program). However, it all worked and was debugged over long period of time, so I prefer to to mess with these for now. New drivers: fi12xx (including MT2032 - this would be be split off later). tdaXXX msp34xx bt8xx
Diffstat (limited to 'hw/xfree86/i2c/bt829_module.c')
-rw-r--r--hw/xfree86/i2c/bt829_module.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/hw/xfree86/i2c/bt829_module.c b/hw/xfree86/i2c/bt829_module.c
new file mode 100644
index 000000000..7d13f69d7
--- /dev/null
+++ b/hw/xfree86/i2c/bt829_module.c
@@ -0,0 +1,26 @@
+
+#include "xf86Module.h"
+
+static MODULESETUPPROTO(bt829Setup);
+
+
+static XF86ModuleVersionInfo bt829VersRec =
+{
+ "bt829",
+ MODULEVENDORSTRING,
+ MODINFOSTRING1,
+ MODINFOSTRING2,
+ XF86_VERSION_CURRENT,
+ 1, 0, 0,
+ ABI_CLASS_VIDEODRV, /* This needs the video driver ABI */
+ ABI_VIDEODRV_VERSION,
+ MOD_CLASS_NONE,
+ {0,0,0,0}
+};
+
+XF86ModuleData bt829ModuleData = { &bt829VersRec, bt829Setup, NULL };
+
+static pointer
+bt829Setup(pointer module, pointer opts, int *errmaj, int *errmin) {
+ return (pointer)1;
+}