summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-03-18 22:52:17 +0100
committerDave Airlie <airlied@linux.ie>2007-03-18 22:52:17 +0100
commit99da6d861c659bb1a961b70f50fad268b9ed5a5f (patch)
treeaaa921d73006211ccfce0d9ae1bea55d8cb5e214 /drivers/char/drm/drm.h
parentdrm: fix alpha domain handling (diff)
downloadlinux-99da6d861c659bb1a961b70f50fad268b9ed5a5f.tar.xz
linux-99da6d861c659bb1a961b70f50fad268b9ed5a5f.zip
drm: allow for more generic drm ioctls
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm.h')
-rw-r--r--drivers/char/drm/drm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/char/drm/drm.h b/drivers/char/drm/drm.h
index 8db9041e306c..089198491f16 100644
--- a/drivers/char/drm/drm.h
+++ b/drivers/char/drm/drm.h
@@ -654,11 +654,13 @@ typedef struct drm_set_version {
/**
* Device specific ioctls should only be in their respective headers
- * The device specific ioctl range is from 0x40 to 0x79.
+ * The device specific ioctl range is from 0x40 to 0x99.
+ * Generic IOCTLS restart at 0xA0.
*
* \sa drmCommandNone(), drmCommandRead(), drmCommandWrite(), and
* drmCommandReadWrite().
*/
#define DRM_COMMAND_BASE 0x40
+#define DRM_COMMAND_END 0xA0
#endif