From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932285AbVHMWYY (ORCPT ); Sat, 13 Aug 2005 18:24:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932377AbVHMWYX (ORCPT ); Sat, 13 Aug 2005 18:24:23 -0400 Received: from nic.upatras.gr ([150.140.129.30]:17596 "HELO nic.upatras.gr") by vger.kernel.org with SMTP id S932285AbVHMWYX (ORCPT ); Sat, 13 Aug 2005 18:24:23 -0400 From: Michael Iatrou To: linux-kernel@vger.kernel.org Subject: [PATCH] configurable debug info from radeonfb old driver Date: Sun, 14 Aug 2005 01:18:27 +0300 User-Agent: KMail/1.8.2 X-Face: *8Gl!va:8&HzlgC%IRQaxD*[{;>3OMj];U1I;[rtNn@,hA7h/cTR1!!0J`koxA2)=?iso-8859-7?q?xj=7ELd9=0A=09N4LpVN=24=5CaU=27r?=2l}1-ae/$k1heNY.:5"9IYPy>X$msqG MIME-Version: 1.0 Message-Id: <200508140118.27921.m.iatrou@freemail.gr> Cc: ajoshi@shell.unixbox.com, akpm@osdl.org Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 --- linux-2.6.13-rc6/drivers/video/Kconfig 2005-08-14 00:48:34.000000000 +0300 +++ linux-2.6.13-rc6.new/drivers/video/Kconfig 2005-08-14 00:54:10.000000000 +0300 @@ -936,6 +936,15 @@ There is a product page at . +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 diff -urN linux-2.6.13-rc6/drivers/video/radeonfb.c linux-2.6.13-rc6.new/drivers/video/radeonfb.c --- linux-2.6.13-rc6/drivers/video/radeonfb.c 2005-06-19 14:49:29.000000000 +0300 +++ linux-2.6.13-rc6.new/drivers/video/radeonfb.c 2005-08-14 00:55:16.000000000 +0300 @@ -80,7 +80,11 @@ #include