diff options
author | Dave Airlie <airlied@redhat.com> | 2007-08-28 01:16:47 -0400 |
---|---|---|
committer | Dave Airlie <airlied@optimus.(none)> | 2007-10-14 20:38:20 -0400 |
commit | b589ee5943a9610ebaea6e4e3433f2ae4d812b0b (patch) | |
tree | d33075004132cf1deeb3fb172bd0e6c82cfcb2ec /drivers/char/drm/drm.h | |
parent | 6c340eac0285f3d62406d2d902d0e96fbf2a5dc0 (diff) |
drm: remove XFREE86_VERSION macros.
These are no longer needed or being used.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/drm/drm.h')
-rw-r--r-- | drivers/char/drm/drm.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/drivers/char/drm/drm.h b/drivers/char/drm/drm.h index 2d6f2d0bd02b..82fb3d0d2785 100644 --- a/drivers/char/drm/drm.h +++ b/drivers/char/drm/drm.h | |||
@@ -63,27 +63,9 @@ | |||
63 | #define DRM_IOC(dir, group, nr, size) _IOC(dir, group, nr, size) | 63 | #define DRM_IOC(dir, group, nr, size) _IOC(dir, group, nr, size) |
64 | #endif | 64 | #endif |
65 | 65 | ||
66 | #define XFREE86_VERSION(major,minor,patch,snap) \ | ||
67 | ((major << 16) | (minor << 8) | patch) | ||
68 | |||
69 | #ifndef CONFIG_XFREE86_VERSION | ||
70 | #define CONFIG_XFREE86_VERSION XFREE86_VERSION(4,1,0,0) | ||
71 | #endif | ||
72 | |||
73 | #if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0) | ||
74 | #define DRM_PROC_DEVICES "/proc/devices" | ||
75 | #define DRM_PROC_MISC "/proc/misc" | ||
76 | #define DRM_PROC_DRM "/proc/drm" | ||
77 | #define DRM_DEV_DRM "/dev/drm" | ||
78 | #define DRM_DEV_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP) | ||
79 | #define DRM_DEV_UID 0 | ||
80 | #define DRM_DEV_GID 0 | ||
81 | #endif | ||
82 | |||
83 | #if CONFIG_XFREE86_VERSION >= XFREE86_VERSION(4,1,0,0) | ||
84 | #define DRM_MAJOR 226 | 66 | #define DRM_MAJOR 226 |
85 | #define DRM_MAX_MINOR 15 | 67 | #define DRM_MAX_MINOR 15 |
86 | #endif | 68 | |
87 | #define DRM_NAME "drm" /**< Name in kernel, /dev, and /proc */ | 69 | #define DRM_NAME "drm" /**< Name in kernel, /dev, and /proc */ |
88 | #define DRM_MIN_ORDER 5 /**< At least 2^5 bytes = 32 bytes */ | 70 | #define DRM_MIN_ORDER 5 /**< At least 2^5 bytes = 32 bytes */ |
89 | #define DRM_MAX_ORDER 22 /**< Up to 2^22 bytes = 4MB */ | 71 | #define DRM_MAX_ORDER 22 /**< Up to 2^22 bytes = 4MB */ |