From f8a6f55e801a2a4f38f6c5efd405a52708920db0 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Fri, 2 May 2014 10:48:30 -0500 Subject: [PATCH] wctc4xxp: Enable the fatal bus error interrupt. The kernel log will now contain reports if there are bus errors. This is a troubleshooting aide on systems with bus issues. Signed-off-by: Shaun Ruffell Signed-off-by: Russ Meyerriecks --- drivers/dahdi/wctc4xxp/base.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/dahdi/wctc4xxp/base.c b/drivers/dahdi/wctc4xxp/base.c index 3ec969b..d498089 100644 --- a/drivers/dahdi/wctc4xxp/base.c +++ b/drivers/dahdi/wctc4xxp/base.c @@ -1807,7 +1807,7 @@ wctc4xxp_setintmask(struct wcdte *wc, unsigned int intmask) static void wctc4xxp_enable_interrupts(struct wcdte *wc) { - wctc4xxp_setintmask(wc, 0x000180c0); + wctc4xxp_setintmask(wc, 0x0001a0c0); } static void @@ -2617,8 +2617,8 @@ DAHDI_IRQ_HANDLER(wctc4xxp_interrupt) if ((ints & 0x00008000) && debug) dev_info(&wc->pdev->dev, "Abnormal Interrupt.\n"); - if ((ints & 0x00002000) && debug) - dev_info(&wc->pdev->dev, "Fatal Bus Error INT\n"); + if (ints & 0x00002000) + dev_err(&wc->pdev->dev, "Fatal Bus Error Detected.\n"); if ((ints & 0x00000100) && debug) dev_info(&wc->pdev->dev, "Receive Stopped INT\n");