summaryrefslogtreecommitdiff
path: root/src/theatre_module.c
diff options
context:
space:
mode:
authorVladimir Dergachev <volodya@mindspring.com>2004-10-02 20:35:04 +0000
committerVladimir Dergachev <volodya@mindspring.com>2004-10-02 20:35:04 +0000
commit136649a1c2065624a9cf17386054c6595aa6d85e (patch)
tree52c87aa353a47fc5830969b124c6a2b97cf63de5 /src/theatre_module.c
parent7a17b1c294fa8c7af0b1cdea0618cb6060479356 (diff)
Modified:
xc/programs/Xserver/hw/xfree86/drivers/ati/theatre* xc/programs/Xserver/hw/xfree86/drivers/ati/generic_bus.h Add Rage Theatre (RT100) module code and hook it into the build system
Diffstat (limited to 'src/theatre_module.c')
-rw-r--r--src/theatre_module.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/theatre_module.c b/src/theatre_module.c
new file mode 100644
index 0000000..dd1c9af
--- /dev/null
+++ b/src/theatre_module.c
@@ -0,0 +1,26 @@
+
+#include "xf86Module.h"
+
+static MODULESETUPPROTO(theatreSetup);
+
+
+static XF86ModuleVersionInfo theatreVersRec =
+{
+ "theatre",
+ MODULEVENDORSTRING,
+ MODINFOSTRING1,
+ MODINFOSTRING2,
+ XORG_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 theatreModuleData = { &theatreVersRec, theatreSetup, NULL };
+
+static pointer
+theatreSetup(pointer module, pointer opts, int *errmaj, int *errmin) {
+ return (pointer)1;
+}