aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2009-12-02 12:13:48 -0500
committerDave Airlie <airlied@redhat.com>2009-12-03 17:59:28 -0500
commit1a95916f5465ad6c91398f17924949db7e0b5c36 (patch)
treee9293ebb277e8cb39dcd57d9c1c07c68a0c8d803 /include/drm/drmP.h
parent862302ffe422378a5213f558fc5cdf62c37050a9 (diff)
drm: Add compatibility #ifdefs for *BSD
This let's use use the linux drm headers as the canonical source for libdrm on all platforms. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r--include/drm/drmP.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 770772c014aa..db56a6add5de 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -289,6 +289,9 @@ typedef int drm_ioctl_t(struct drm_device *dev, void *data,
289typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd, 289typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd,
290 unsigned long arg); 290 unsigned long arg);
291 291
292#define DRM_IOCTL_NR(n) _IOC_NR(n)
293#define DRM_MAJOR 226
294
292#define DRM_AUTH 0x1 295#define DRM_AUTH 0x1
293#define DRM_MASTER 0x2 296#define DRM_MASTER 0x2
294#define DRM_ROOT_ONLY 0x4 297#define DRM_ROOT_ONLY 0x4