summaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
authorJeff Hartmann <jhartmann@valinux.com>2001-07-18 21:02:58 +0000
committerJeff Hartmann <jhartmann@valinux.com>2001-07-18 21:02:58 +0000
commit4eafeec960c29369982a9b15c24681a3072f491d (patch)
tree46b949fff29a0022d21c7e724b4e5a24347c7db6 /shared-core/drm.h
parentc6454e6a93544fd20f4b5d9cb2ee08725e9b6740 (diff)
Add module version name at a lower layer of the code, allows things to be
more flexible and allow older module versions to still work. Might not be final code if we move over to DRI kernel module version, but will be if we use XFree86 version. + Only build tdfx.o instead of tdfx-4_1_0.o since tdfx.o has never changed its API.
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 5faf2bae..ac9f407a 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -47,26 +47,10 @@
#define XFREE86_VERSION(major,minor,patch,snap) \
((major << 16) | (minor << 8) | patch)
-#define __DRM_STRINGIFY(x) #x
-#define DRM_STRINGIFY(x) __DRM_STRINGIFY(x)
-
#ifndef CONFIG_XFREE86_VERSION
-/* If CONFIG_XFREE86_VERSION is defined, these must also be defined */
-#define CONFIG_XFREE86_MAJOR 4
-#define CONFIG_XFREE86_MINOR 1
-#define CONFIG_XFREE86_PATCH 0
-
#define CONFIG_XFREE86_VERSION XFREE86_VERSION(4,1,0,0)
#endif
-#define XF86_MAJ_STR DRM_STRINGIFY(CONFIG_XFREE86_MAJOR)
-#define XF86_MIN_STR DRM_STRINGIFY(CONFIG_XFREE86_MINOR)
-#define XF86_PATCH_STR DRM_STRINGIFY(CONFIG_XFREE86_PATCH)
-
-#ifndef CONFIG_XFREE86_VERSION_STR
-#define CONFIG_XFREE86_VERSION_STR "-"##XF86_MAJ_STR##"_"##XF86_MIN_STR##"_"##XF86_PATCH_STR
-#endif
-
#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0)
#define DRM_PROC_DEVICES "/proc/devices"
#define DRM_PROC_MISC "/proc/misc"