diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-03-30 00:37:12 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-03-30 00:37:12 +0000 |
commit | b2769aa5008ddf91fc9b71b1bdb1c46b699dde45 (patch) | |
tree | 5d6d01df35afe6707c5eb43cfda2f16a0523954e /sys/dev/pci/drm | |
parent | 30aecb4a91047bc67607a4736d317a98f5adffd7 (diff) |
correct the value of DRM_MAJOR for non i386 platforms
ok matthieu@
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r-- | sys/dev/pci/drm/drm.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm.h b/sys/dev/pci/drm/drm.h index 13d52234677..792b0ef11b9 100644 --- a/sys/dev/pci/drm/drm.h +++ b/sys/dev/pci/drm/drm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: drm.h,v 1.14 2014/01/18 08:25:06 jsg Exp $ */ +/* $OpenBSD: drm.h,v 1.15 2014/03/30 00:37:11 jsg Exp $ */ /** * \file drm.h * Header for the Direct Rendering Manager @@ -55,7 +55,11 @@ #define DRM_IOC_READWRITE IOC_INOUT #define DRM_IOC(dir, group, nr, size) _IOC(dir, group, nr, size) +#ifdef __i386__ #define DRM_MAJOR 88 +#else +#define DRM_MAJOR 87 +#endif #define DRM_MAX_MINOR 15 #define DRM_NAME "drm" /**< Name in kernel, /dev, and /proc */ |