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 --- linux/Makefile.linux | 2 +- linux/drm.h | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'linux') diff --git a/linux/Makefile.linux b/linux/Makefile.linux index 7c1269c6..d022557d 100644 --- a/linux/Makefile.linux +++ b/linux/Makefile.linux @@ -174,7 +174,7 @@ all::;@echo === SMP=${SMP} MODULES=${MODULES} MODVERSIONS=${MODVERSIONS} AGP=${A all::;@echo === kill_fasync has $(PARAMS) parameters all::;@echo === Compiling for machine $(MACHINE) all::;@echo === WARNING -all::;@echo === WARNING 2.4.0 kernels before test11 DONT WORK +all::;@echo === WARNING 2.4.0 kernels before 2.4.0-test11 DO NOT WORK all::;@echo === WARNING ifeq ($(MODULES),0) diff --git a/linux/drm.h b/linux/drm.h index 470eb033..40a85875 100644 --- a/linux/drm.h +++ b/linux/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