summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-11-05 01:43:47 +0000
committerEric Anholt <anholt@freebsd.org>2003-11-05 01:43:47 +0000
commit5864101ab4400aad6ca936bc94000a4607851bb3 (patch)
tree79c97a8c191a6f9c3fece867c354e8cb36ecfa2e /shared
parente5cad7fced023e9ad6395147d6fff7ba28f11d17 (diff)
Repo-copy linux/drm/kernel/drm.h to shared/drm/kernel/drm.h and use it on
both Linux and *BSD.
Diffstat (limited to 'shared')
-rw-r--r--shared/drm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/drm.h b/shared/drm.h
index 62baccaf..96e99016 100644
--- a/shared/drm.h
+++ b/shared/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