2018-01-08 14:06:24 +00:00
|
|
|
From 6e081074df96bf3762c2e6438c383f11a56b0a7e Mon Sep 17 00:00:00 2001
|
|
|
|
From: John Crispin <john@phrozen.org>
|
|
|
|
Date: Thu, 10 Aug 2017 15:58:04 +0200
|
|
|
|
Subject: [PATCH 46/57] net: mediatek: add irq delay
|
|
|
|
|
|
|
|
Signed-off-by: John Crispin <john@phrozen.org>
|
|
|
|
---
|
|
|
|
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 7 ++++++-
|
|
|
|
drivers/net/ethernet/mediatek/mtk_eth_soc.h | 8 +++++++-
|
|
|
|
2 files changed, 13 insertions(+), 2 deletions(-)
|
|
|
|
|
2018-02-17 21:59:07 +00:00
|
|
|
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
|
|
|
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
2019-06-25 10:52:39 +00:00
|
|
|
@@ -1996,6 +1996,7 @@ static int mtk_hw_init(struct mtk_eth *e
|
2018-01-08 14:06:24 +00:00
|
|
|
|
|
|
|
/* enable interrupt delay for RX */
|
|
|
|
mtk_w32(eth, MTK_PDMA_DELAY_RX_DELAY, MTK_PDMA_DELAY_INT);
|
|
|
|
+ //mtk_w32(eth, MTK_PDMA_DELAY_RX_DELAY, MTK_QDMA_DELAY_INT);
|
|
|
|
|
|
|
|
/* disable delay and normal interrupt */
|
|
|
|
mtk_w32(eth, 0, MTK_QDMA_DELAY_INT);
|