From 84eaaac61b9b7a2402b222580db86324ba26f024 Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 28 Dec 2006 16:10:51 +0000 Subject: Port the i2c-gpio driver to the 2.6 kernel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5916 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/au1000-2.6/patches/009-pci_clear_errors.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 target/linux/au1000-2.6/patches/009-pci_clear_errors.patch (limited to 'target/linux/au1000-2.6/patches/009-pci_clear_errors.patch') diff --git a/target/linux/au1000-2.6/patches/009-pci_clear_errors.patch b/target/linux/au1000-2.6/patches/009-pci_clear_errors.patch new file mode 100644 index 000000000..27282b27c --- /dev/null +++ b/target/linux/au1000-2.6/patches/009-pci_clear_errors.patch @@ -0,0 +1,16 @@ +diff -urN linux-2.6.19/arch/mips/pci/ops-au1000.c linux-2.6.19.new/arch/mips/pci/ops-au1000.c +--- linux-2.6.19/arch/mips/pci/ops-au1000.c 2006-11-29 22:57:37.000000000 +0100 ++++ linux-2.6.19.new/arch/mips/pci/ops-au1000.c 2006-12-28 03:02:42.000000000 +0100 +@@ -172,7 +172,11 @@ + 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; + } -- cgit v1.2.3