summaryrefslogtreecommitdiff
path: root/bsd-core/drmP.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-09-03 03:27:14 +0000
committerDave Airlie <airlied@linux.ie>2005-09-03 03:27:14 +0000
commit0d346a07a87ef7bf6b77adda7c776e2ac5849266 (patch)
tree84a5501d1d26c85c45971e9d0fc4dd1f49a16cad /bsd-core/drmP.h
parent80ed93c7bf9f8c8d42cbcc26e82020cfcd92fb77 (diff)
convert ioctl flags to use flags instead of separate ints
Diffstat (limited to 'bsd-core/drmP.h')
-rw-r--r--bsd-core/drmP.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h
index 751714b6..d0d7b286 100644
--- a/bsd-core/drmP.h
+++ b/bsd-core/drmP.h
@@ -448,11 +448,12 @@ typedef struct drm_pci_id_list
char *name;
} drm_pci_id_list_t;
+#define DRM_AUTH_NEEDED 0x1
+#define DRM_MASTER 0x2
+#define DRM_ROOT_ONLY 0x4
typedef struct drm_ioctl_desc {
int (*func)(DRM_IOCTL_ARGS);
- int auth_needed;
- int master;
- int root_only;
+ int flags;
} drm_ioctl_desc_t;
typedef struct drm_magic_entry {