configurable debug info from radeonfb old driver
PATCH 1/1 configurable debug info from radeonfb old driver
Hi,
Currently, radeonfb old driver always prints debugging informations. This patch makes debug info reporting configurable.
drivers/video/Kconfig 2005-08-14 00:54:10.000000000 +0300 renamed from drivers/video/Kconfig 2005-08-14 00:48:34.000000000 +0300 +9 -0
@@ -936,6 +936,15 @@ There is a product page at <http://www.ati.com/na/pages/products/pc/radeon32/index.html>. +config FB_RADEON_OLD_DEBUG + bool "Enable debug output from Old Radeon driver" + depends on FB_RADEON_OLD + default n + help + Say Y here if you want the Radeon driver to output all sorts + of debugging informations to provide to the maintainer when + something goes wrong. + config FB_RADEON tristate "ATI Radeon display support" depends on FB && PCI
drivers/video/radeonfb.c 2005-08-14 00:55:16.000000000 +0300 renamed from drivers/video/radeonfb.c 2005-06-19 14:49:29.000000000 +0300 +5 -1
@@ -80,7 +80,11 @@ #include <video/radeon.h> #include <linux/radeonfb.h> -#define DEBUG 1 +#ifdef CONFIG_FB_RADEON_OLD_DEBUG +#define DEBUG 1 +#else +#define DEBUG 0 +#endif #if DEBUG #define RTRACE printk
Signature · 1 line
Michael Iatrou
Quoted 32 lines · Michael Iatrou
Hi,
Currently, radeonfb old driver always prints debugging informations. This patch makes debug info reporting configurable.
diff -urN linux-2.6.13-rc6/drivers/video/Kconfig linux-2.6.13-rc6.new/drivers/video/Kconfig
drivers/video/Kconfig 2005-08-14 00:54:10.000000000 +0300 renamed from drivers/video/Kconfig 2005-08-14 00:48:34.000000000 +0300 +9
-0@@ -936,6 +936,15 @@ There is a product page at <http://www.ati.com/na/pages/products/pc/radeon32/index.html>. +config FB_RADEON_OLD_DEBUG + bool "Enable debug output from Old Radeon driver" + depends on FB_RADEON_OLD + default n + help + Say Y here if you want the Radeon driver to output all sorts + of debugging informations to provide to the maintainer when + something goes wrong. + config FB_RADEON tristate "ATI Radeon display support" depends on FB && PCIdiff -urN
linux-2.6.13-rc6/drivers/video/radeonfb.clinux-2.6.13-rc6.new/drivers/video/radeonfb.cdrivers/video/radeonfb.c 2005-08-14 00:55:16.000000000 +0300 renamed from drivers/video/radeonfb.c 2005-06-19 14:49:29.000000000 +0300 +0
-0@@ -80,7 +80,11 @@ #include <video/radeon.h> #include <linux/radeonfb.h>
drivers/video/radeonfb.c 2005-08-14 00:55:16.000000000 +0300 line 90
Quoted 10 lines
drivers/video/radeonfb.c 2005-08-14 00:55:16.000000000 +0300 renamed from drivers/video/radeonfb.c 2005-06-19 14:49:29.000000000 +0300 +5
-1-#define DEBUG 1 +#ifdef CONFIG_FB_RADEON_OLD_DEBUG +#define DEBUG 1 +#else +#define DEBUG 0 +#endif #if DEBUG #define RTRACE printk
That's probably a bit fancier than we really need. How about we just set DEBUG to zero?
Quoted 41 lines · Andrew Morton
Quoted 40 lines · Michael Iatrou
Hi,
Currently, radeonfb old driver always prints debugging informations. This patch makes debug info reporting configurable.
diff -urN linux-2.6.13-rc6/drivers/video/Kconfig linux-2.6.13-rc6.new/drivers/video/Kconfig
drivers/video/Kconfig 2005-08-14 00:54:10.000000000 +0300 renamed from drivers/video/Kconfig 2005-08-14 00:48:34.000000000 +0300 +9
-0@@ -936,6 +936,15 @@ There is a product page at <http://www.ati.com/na/pages/products/pc/radeon32/index.html>. +config FB_RADEON_OLD_DEBUG + bool "Enable debug output from Old Radeon driver" + depends on FB_RADEON_OLD + default n + help + Say Y here if you want the Radeon driver to output all sorts + of debugging informations to provide to the maintainer when + something goes wrong. + config FB_RADEON tristate "ATI Radeon display support" depends on FB && PCIdiff -urN
linux-2.6.13-rc6/drivers/video/radeonfb.clinux-2.6.13-rc6.new/drivers/video/radeonfb.cdrivers/video/radeonfb.c 2005-08-14 00:55:16.000000000 +0300 renamed from drivers/video/radeonfb.c 2005-06-19 14:49:29.000000000 +0300 +5
-1@@ -80,7 +80,11 @@ #include <video/radeon.h> #include <linux/radeonfb.h> -#define DEBUG 1 +#ifdef CONFIG_FB_RADEON_OLD_DEBUG +#define DEBUG 1 +#else +#define DEBUG 0 +#endif
Quoted 5 lines
drivers/video/radeonfb.c 2005-08-14 00:55:16.000000000 +0300 line 90
Quoted 2 lines
drivers/video/radeonfb.c 2005-08-14 00:55:16.000000000 +0300 renamed from drivers/video/radeonfb.c 2005-06-19 14:49:29.000000000 +0300 +0
-0#if DEBUG #define RTRACE printkThat's probably a bit fancier than we really need. How about we just set DEBUG to zero?
That's an option too.
drivers/video/radeonfb.c 2005-08-14 12:58:10.000000000 +0300 renamed from drivers/video/radeonfb.c 2005-06-19 14:49:29.000000000 +0300 +1 -1
@@ -80,7 +80,7 @@ #include <video/radeon.h> #include <linux/radeonfb.h> -#define DEBUG 1 +#define DEBUG 0 #if DEBUG #define RTRACE printk
Signature · 1 line
Michael Iatrou