From: Bruce Allan Date: Thu, 19 Nov 2009 12:35:26 +0000 (+0000) Subject: e1000e: add Tx timeout factor for 100Mbps X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4c86e0b9455c8fa8122fc2d10935e892838c8568;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git e1000e: add Tx timeout factor for 100Mbps On some devices (e.g. 82578) not having a Tx timeout factor when linked at 100Mbps can cause false reports of hardware hangs on busy hubs. Signed-off-by: Bruce Allan Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index a1a5a6f15a65..63458270ce1b 100644 --- a/drivers/net/e1000e/netdev.c +++ b/drivers/net/e1000e/netdev.c @@ -3627,7 +3627,7 @@ static void e1000_watchdog_task(struct work_struct *work) case SPEED_100: txb2b = 0; netdev->tx_queue_len = 100; - /* maybe add some timeout factor ? */ + adapter->tx_timeout_factor = 10; break; }