summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorDaryll Strauss <daryll@users.sourceforge.net>2000-04-09 17:29:28 +0000
committerDaryll Strauss <daryll@users.sourceforge.net>2000-04-09 17:29:28 +0000
commit42f526b5ca90317dd751a772105f30e8151b8613 (patch)
treec5c773a2bca9be1d9f1a06c2d2f4a92c8f7930a0 /linux
parent1dcfddf9154bcce3d6e004acee7dd503c27d0f0b (diff)
Only enable DRI for 16bpp mode. Allow GL_BLEND if color is 0,0,0,1 Wrap
grTexLodBiasValue call Link math library into libGL Recognize Napalm boards Allow CLUT/gamma changes Make driver compile on 2.2.14 kernel
Diffstat (limited to 'linux')
-rw-r--r--linux/fops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/linux/fops.c b/linux/fops.c
index 2a064e5d..1c1a3584 100644
--- a/linux/fops.c
+++ b/linux/fops.c
@@ -211,10 +211,11 @@ int drm_write_string(drm_device_t *dev, const char *s)
send -= count;
}
-#if LINUX_VERSION_CODE < 0x020315
+#if LINUX_VERSION_CODE < 0x02020e || \
+ ( LINUX_VERSION_CODE > 0x020300 && LINUX_VERSION_CODE < 0x020315 )
if (dev->buf_async) kill_fasync(dev->buf_async, SIGIO);
#else
- /* Parameter added in 2.3.21 */
+ /* Parameter added in 2.2.14 and 2.3.21 */
if (dev->buf_async) kill_fasync(dev->buf_async, SIGIO, POLL_IN);
#endif
DRM_DEBUG("waking\n");