xfree86: remove pci debug macros
there's no effect when their are enabled. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
This commit is contained in:
parent
6089d9cfde
commit
7b3d05ebd5
|
@ -151,13 +151,6 @@ xf86scanpci(void)
|
|||
|
||||
success = (pci_system_init() == 0);
|
||||
|
||||
/* XXX */
|
||||
#if defined(DEBUGPCI)
|
||||
if (DEBUGPCI >= xf86Verbose) {
|
||||
xf86Verbose = DEBUGPCI;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* choose correct platform/OS specific PCI init routine */
|
||||
ARCH_PCI_INIT();
|
||||
|
||||
|
|
|
@ -150,24 +150,6 @@
|
|||
#define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
|
||||
#define PCI_TAG_NO_DOMAIN(tag) ((tag) & 0x00ffff00u)
|
||||
|
||||
/*
|
||||
* Debug Macros/Definitions
|
||||
*/
|
||||
/* #define DEBUGPCI 2 */ /* Disable/enable trace in PCI code */
|
||||
|
||||
#if defined(DEBUGPCI)
|
||||
|
||||
# define PCITRACE(lvl,printfargs) \
|
||||
if (lvl > xf86Verbose) { \
|
||||
ErrorF printfargs; \
|
||||
}
|
||||
|
||||
#else /* !defined(DEBUGPCI) */
|
||||
|
||||
# define PCITRACE(lvl,printfargs)
|
||||
|
||||
#endif /* !defined(DEBUGPCI) */
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || \
|
||||
defined(__OpenBSD__) || defined(__NetBSD__) || \
|
||||
defined(__DragonFly__) || defined(__sun) || defined(__GNU__)
|
||||
|
|
Loading…
Reference in New Issue
Block a user