From 88dbee54ed400a3fd5594fab506518c171167805 Mon Sep 17 00:00:00 2001 From: Rik Faith Date: Wed, 28 Feb 2001 09:27:44 +0000 Subject: Implement drmOpen* without /proc dependence (Fallback to /proc is included for backward compatibility.) Move statistic-gathering drm* calls from dristat.c to xf86drm.c --- shared-core/drm.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'shared-core') diff --git a/shared-core/drm.h b/shared-core/drm.h index 470eb033..40a85875 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -44,11 +44,8 @@ #define DRM_IOCTL_NR(n) ((n) & 0xff) #endif -#define DRM_DEV_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP) -#define DRM_DEV_UID 0 -#define DRM_DEV_GID 0 - #define DRM_MAJOR 226 +#define DRM_MAX_MINOR 15 #define DRM_NAME "drm" /* Name in kernel, /dev, and /proc */ #define DRM_MIN_ORDER 5 /* At least 2^5 bytes = 32 bytes */ #define DRM_MAX_ORDER 22 /* Up to 2^22 bytes = 4MB */ -- cgit v1.2.3