|
@@ -1709,7 +1709,7 @@ static int mtk_add_mac(struct mtk_eth *eth, struct device_node *np)
|
|
mac->hw_stats->reg_offset = id * MTK_STAT_OFFSET;
|
|
mac->hw_stats->reg_offset = id * MTK_STAT_OFFSET;
|
|
|
|
|
|
SET_NETDEV_DEV(eth->netdev[id], eth->dev);
|
|
SET_NETDEV_DEV(eth->netdev[id], eth->dev);
|
|
- eth->netdev[id]->watchdog_timeo = HZ;
|
|
|
|
|
|
+ eth->netdev[id]->watchdog_timeo = 5 * HZ;
|
|
eth->netdev[id]->netdev_ops = &mtk_netdev_ops;
|
|
eth->netdev[id]->netdev_ops = &mtk_netdev_ops;
|
|
eth->netdev[id]->base_addr = (unsigned long)eth->base;
|
|
eth->netdev[id]->base_addr = (unsigned long)eth->base;
|
|
eth->netdev[id]->vlan_features = MTK_HW_FEATURES &
|
|
eth->netdev[id]->vlan_features = MTK_HW_FEATURES &
|