提交 8b4ac6f3 编写于 作者: F Florian Fainelli 提交者: Ralf Baechle

[MIPS] MTX1: clear PCI errors

This patch clears PCI errors after showing more debug informations.
Signed-off-by: NFlorian Fainelli <florian.fainelli@int-evry.fr>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 baa545fd
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册