diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-11-05 01:43:47 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-11-05 01:43:47 +0000 |
commit | 5864101ab4400aad6ca936bc94000a4607851bb3 (patch) | |
tree | 79c97a8c191a6f9c3fece867c354e8cb36ecfa2e /shared-core | |
parent | e5cad7fced023e9ad6395147d6fff7ba28f11d17 (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-core')
-rw-r--r-- | shared-core/drm.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |