summaryrefslogtreecommitdiff
path: root/src/theatre_detect_module.c
diff options
context:
space:
mode:
authorBogdan Diaconescu <b_diaconescu@yahoo.com>2005-04-17 23:09:28 +0000
committerBogdan Diaconescu <b_diaconescu@yahoo.com>2005-04-17 23:09:28 +0000
commitda9d27f8c8cccf2f40a244b25ffe0d3162c41a63 (patch)
treea12418ad0e324bd14a5df8a2baff81a1a0a46619 /src/theatre_detect_module.c
parente4623bbce161c41ccac65210fd2539211e8af715 (diff)
This is the theatre chip detection module
Diffstat (limited to 'src/theatre_detect_module.c')
-rw-r--r--src/theatre_detect_module.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/theatre_detect_module.c b/src/theatre_detect_module.c
new file mode 100644
index 00000000..02180ab2
--- /dev/null
+++ b/src/theatre_detect_module.c
@@ -0,0 +1,29 @@
+/*
+ * Created by Bogdan D. bogdand@users.sourceforge.net
+ */
+
+#include "xf86Module.h"
+
+static MODULESETUPPROTO(theatre_detectSetup);
+
+
+static XF86ModuleVersionInfo theatre_detectVersRec =
+{
+ "theatre_detect",
+ 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 theatre_detectModuleData = { &theatre_detectVersRec, theatre_detectSetup, NULL };
+
+static pointer
+theatre_detectSetup(pointer module, pointer opts, int *errmaj, int *errmin) {
+ return (pointer)1;
+}