diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-11-06 11:50:08 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-11-06 11:50:08 +0000 |
commit | b2f275b46e575766c7b5dab22ba30a367a182c9e (patch) | |
tree | 8447f1f94a6fac6e490850824ba20691fc4fbcc0 /bsd-core/drm_drv.c | |
parent | 7adee84064d55207dbf7893cc8cb579bfa1a7631 (diff) |
Hook the debug output up to a sysctl, so you can choose to enable at
runtime.
Diffstat (limited to 'bsd-core/drm_drv.c')
-rw-r--r-- | bsd-core/drm_drv.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bsd-core/drm_drv.c b/bsd-core/drm_drv.c index 7138096c..cdf99eac 100644 --- a/bsd-core/drm_drv.c +++ b/bsd-core/drm_drv.c @@ -33,11 +33,7 @@ #include "drmP.h" #include "drm.h" -#ifdef DRM_DEBUG_DEFAULT_ON -int drm_flags = DRM_FLAG_DEBUG; -#else -int drm_flags = 0; -#endif +int drm_debug_flag = 0; static int drm_init(device_t nbdev); static void drm_cleanup(drm_device_t *dev); |