projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baa545f
)
[MIPS] MTX1: clear PCI errors
author
Florian Fainelli
<
[email protected]
>
Fri, 2 Mar 2007 21:08:01 +0000
(22:08 +0100)
committer
Ralf Baechle
<
[email protected]
>
Sun, 4 Mar 2007 19:02:45 +0000
(19:02 +0000)
This patch clears PCI errors after showing more debug informations.
Signed-off-by: Florian Fainelli <
[email protected]
>
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/pci/ops-au1000.c
patch
|
blob
|
history
diff --git
a/arch/mips/pci/ops-au1000.c
b/arch/mips/pci/ops-au1000.c
index 8ae46481fcb720d98b608b5adea07458396ae59d..7932dfe5eb9be5c9ab01c4b34702cac82c024cae 100644
(file)
--- a/
arch/mips/pci/ops-au1000.c
+++ b/
arch/mips/pci/ops-au1000.c
@@
-172,7
+172,11
@@
static int config_access(unsigned char access_type, struct pci_bus *bus,
error = -1;
DBG("Au1x Master Abort\n");
} else if ((status >> 28) & 0xf) {
- DBG("PCI ERR detected: status %x\n", status);
+ DBG("PCI ERR detected: device %d, status %x\n", device, ((status >> 28) & 0xf));
+
+ /* clear errors */
+ au_writel(status & 0xf000ffff, Au1500_PCI_STATCMD);
+
*data = 0xffffffff;
error = -1;
}