mediatek: bump to v4.14
[openwrt/openwrt.git] / target / linux / mediatek / patches-4.14 / 0051-net-mediatek-increase-tx_timeout.patch
1 From 5cbf53c7e5eac5bacc409461888789accdaf8eec Mon Sep 17 00:00:00 2001
2 From: John Crispin <john@phrozen.org>
3 Date: Thu, 10 Aug 2017 16:00:06 +0200
4 Subject: [PATCH 51/57] net: mediatek: increase tx_timeout
5
6 Signed-off-by: John Crispin <john@phrozen.org>
7 ---
8 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
12 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
13 @@ -2384,7 +2384,7 @@ static int mtk_add_mac(struct mtk_eth *e
14 mac->hw_stats->reg_offset = id * MTK_STAT_OFFSET;
15
16 SET_NETDEV_DEV(eth->netdev[id], eth->dev);
17 - eth->netdev[id]->watchdog_timeo = 5 * HZ;
18 + eth->netdev[id]->watchdog_timeo = 30 * HZ;
19 eth->netdev[id]->netdev_ops = &mtk_netdev_ops;
20 eth->netdev[id]->base_addr = (unsigned long)eth->base;
21