summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/r128_drm.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-08-28 15:16:47 +1000
committerDave Airlie <airlied@optimus.(none)>2007-10-15 10:38:20 +1000
commitb589ee5943a9610ebaea6e4e3433f2ae4d812b0b (patch)
treed33075004132cf1deeb3fb172bd0e6c82cfcb2ec /drivers/char/drm/r128_drm.h
parent6c340eac0285f3d62406d2d902d0e96fbf2a5dc0 (diff)
downloadlinux-b589ee5943a9610ebaea6e4e3433f2ae4d812b0b.tar.gz
linux-b589ee5943a9610ebaea6e4e3433f2ae4d812b0b.tar.bz2
linux-b589ee5943a9610ebaea6e4e3433f2ae4d812b0b.zip
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/r128_drm.h')
-rw-r--r--drivers/char/drm/r128_drm.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/char/drm/r128_drm.h b/drivers/char/drm/r128_drm.h
index e94a39c6e327..8d8878b55f55 100644
--- a/drivers/char/drm/r128_drm.h
+++ b/drivers/char/drm/r128_drm.h
@@ -222,11 +222,7 @@ typedef struct drm_r128_init {
R128_INIT_CCE = 0x01,
R128_CLEANUP_CCE = 0x02
} func;
-#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0)
- int sarea_priv_offset;
-#else
unsigned long sarea_priv_offset;
-#endif
int is_pci;
int cce_mode;
int cce_secure;
@@ -240,21 +236,12 @@ typedef struct drm_r128_init {
unsigned int depth_offset, depth_pitch;
unsigned int span_offset;
-#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0)
- unsigned int fb_offset;
- unsigned int mmio_offset;
- unsigned int ring_offset;
- unsigned int ring_rptr_offset;
- unsigned int buffers_offset;
- unsigned int agp_textures_offset;
-#else
unsigned long fb_offset;
unsigned long mmio_offset;
unsigned long ring_offset;
unsigned long ring_rptr_offset;
unsigned long buffers_offset;
unsigned long agp_textures_offset;
-#endif
} drm_r128_init_t;
typedef struct drm_r128_cce_stop {
@@ -264,15 +251,10 @@ typedef struct drm_r128_cce_stop {
typedef struct drm_r128_clear {
unsigned int flags;
-#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0)
- int x, y, w, h;
-#endif
unsigned int clear_color;
unsigned int clear_depth;
-#if CONFIG_XFREE86_VERSION >= XFREE86_VERSION(4,1,0,0)
unsigned int color_mask;
unsigned int depth_mask;
-#endif
} drm_r128_clear_t;
typedef struct drm_r128_vertex {