Commit 143f0f65 authored by Paul Bolle's avatar Paul Bolle Committed by Ralf Baechle

MIPS: Alchemy: Fix typo "CONFIG_DEBUG_PCI"

Commit 7517de34 ("MIPS: Alchemy: Redo
PCI as platform driver") added a reference to CONFIG_DEBUG_PCI. Change
it to CONFIG_PCI_DEBUG, as that is a valid Kconfig macro.

Also add a newline to a debugging printk that this fix enables.
Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent ad8c3969
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <asm/mach-au1x00/au1000.h> #include <asm/mach-au1x00/au1000.h>
#include <asm/tlbmisc.h> #include <asm/tlbmisc.h>
#ifdef CONFIG_DEBUG_PCI #ifdef CONFIG_PCI_DEBUG
#define DBG(x...) printk(KERN_DEBUG x) #define DBG(x...) printk(KERN_DEBUG x)
#else #else
#define DBG(x...) do {} while (0) #define DBG(x...) do {} while (0)
...@@ -162,7 +162,7 @@ static int config_access(unsigned char access_type, struct pci_bus *bus, ...@@ -162,7 +162,7 @@ static int config_access(unsigned char access_type, struct pci_bus *bus,
if (status & (1 << 29)) { if (status & (1 << 29)) {
*data = 0xffffffff; *data = 0xffffffff;
error = -1; error = -1;
DBG("alchemy-pci: master abort on cfg access %d bus %d dev %d", DBG("alchemy-pci: master abort on cfg access %d bus %d dev %d\n",
access_type, bus->number, device); access_type, bus->number, device);
} else if ((status >> 28) & 0xf) { } else if ((status >> 28) & 0xf) {
DBG("alchemy-pci: PCI ERR detected: dev %d, status %lx\n", DBG("alchemy-pci: PCI ERR detected: dev %d, status %lx\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment