From 5864101ab4400aad6ca936bc94000a4607851bb3 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 5 Nov 2003 01:43:47 +0000 Subject: Repo-copy linux/drm/kernel/drm.h to shared/drm/kernel/drm.h and use it on both Linux and *BSD. --- shared-core/drm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shared-core') diff --git a/shared-core/drm.h b/shared-core/drm.h index 62baccaf..96e99016 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -83,7 +83,8 @@ #if CONFIG_XFREE86_VERSION >= XFREE86_VERSION(4,1,0,0) #ifdef __OpenBSD__ #define DRM_MAJOR 81 -#else +#endif +#if defined(__Linux__) || defined(__NetBSD__) #define DRM_MAJOR 226 #endif #define DRM_MAX_MINOR 15 -- cgit v1.2.3