disabled debug output

This commit is contained in:
Markus Fröschle
2013-12-31 15:45:30 +00:00
parent a48aa15fe6
commit cea085a50a
4 changed files with 6 additions and 6 deletions

View File

@@ -33,7 +33,7 @@
#include "interrupts.h"
#include "wait.h"
#define DEBUG_PCI
//#define DEBUG_PCI
#ifdef DEBUG_PCI
#define dbg(format, arg...) do { xprintf("DEBUG: " format "", ##arg); } while (0)
#else

View File

@@ -61,7 +61,7 @@
#include "bas_printf.h"
#include "exceptions.h" /* for set_ipl() */
#define DBG_RADEON
//#define DBG_RADEON
#ifdef DBG_RADEON
#define dbg(format, arg...) do { xprintf("DEBUG: " format, ##arg); } while (0)
#else
@@ -2117,7 +2117,7 @@ int32_t radeonfb_pci_register(int32_t handle, const struct pci_device_id *ent)
if ((rinfo->bios_seg != NULL))
{
dbg("%s: run VGA BIOS\r\n", __FUNCTION__);
run_bios(rinfo);
//run_bios(rinfo);
}
else
{

View File

@@ -5,7 +5,7 @@
#include "bas_printf.h"
#include "bas_string.h"
#define DBG_MONITOR
//#define DBG_MONITOR
#ifdef DBG_MONITOR
#define dbg(format, arg...) do { xprintf("DEBUG: " format, ##arg); } while (0)
#else

View File

@@ -7,7 +7,7 @@
#include "fb.h"
#include "radeonfb.h"
#define DBG_VIDEO
//#define DBG_VIDEO
#ifdef DBG_VIDEO
#define dbg(format, arg...) do { xprintf("DEBUG: " format, ##arg); } while (0)
#else
@@ -330,7 +330,7 @@ void video_init(void)
dbg("%s: matched\r\n", __FUNCTION__);
if (radeonfb_pci_register(handle, board) >= 0)
{
dbg("%s: RADEON video card found and registered\r\n", __FUNCTION__);
xprintf("RADEON video card found and registered\r\n");
}
else
{