2017-08-18 16:11:52 +00:00
|
|
|
From 5cbf53c7e5eac5bacc409461888789accdaf8eec Mon Sep 17 00:00:00 2001
|
|
|
|
From: John Crispin <john@phrozen.org>
|
|
|
|
Date: Thu, 10 Aug 2017 16:00:06 +0200
|
|
|
|
Subject: [PATCH 51/57] net: mediatek: increase tx_timeout
|
|
|
|
|
|
|
|
Signed-off-by: John Crispin <john@phrozen.org>
|
|
|
|
---
|
|
|
|
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
|
|
|
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
2018-03-09 17:33:04 +00:00
|
|
|
@@ -2454,7 +2454,7 @@ static int mtk_add_mac(struct mtk_eth *e
|
2017-08-18 16:11:52 +00:00
|
|
|
mac->hw_stats->reg_offset = id * MTK_STAT_OFFSET;
|
|
|
|
|
|
|
|
SET_NETDEV_DEV(eth->netdev[id], eth->dev);
|
|
|
|
- eth->netdev[id]->watchdog_timeo = 5 * HZ;
|
|
|
|
+ eth->netdev[id]->watchdog_timeo = 30 * HZ;
|
|
|
|
eth->netdev[id]->netdev_ops = &mtk_netdev_ops;
|
|
|
|
eth->netdev[id]->base_addr = (unsigned long)eth->base;
|
|
|
|
|