lantiq: Silence the printk when a PCIe error interrupt arrives

Basically the only error I am seeing is "Correctable Error". Also newer
lantiq PCIe drivers have this message wrapped in a "if debug enabled"
block. So it should be safe to disable this warning.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 46222
master
John Crispin 10 years ago
parent 415fe71d00
commit 2748df1c98
  1. 2
      target/linux/lantiq/patches-3.18/0001-MIPS-lantiq-add-pcie-driver.patch

@ -1105,7 +1105,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ int pcie_port = ctrl->port;
+ u32 reg;
+
+ printk("PCIe RC error intr %d\n", irq);
+ pr_debug("PCIe RC error intr %d\n", irq);
+ reg = IFX_REG_R32(PCIE_IRNCR(pcie_port));
+ reg &= PCIE_RC_CORE_COMBINED_INT;
+ IFX_REG_W32(reg, PCIE_IRNCR(pcie_port));

Loading…
Cancel
Save