From b2f275b46e575766c7b5dab22ba30a367a182c9e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 6 Nov 2004 11:50:08 +0000 Subject: Hook the debug output up to a sysctl, so you can choose to enable at runtime. --- bsd-core/drm_drv.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'bsd-core/drm_drv.c') 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); -- cgit v1.2.3