diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2009-11-19 07:35:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-20 16:53:26 -0500 |
commit | 4c86e0b9455c8fa8122fc2d10935e892838c8568 (patch) | |
tree | 2d1da2a84aa7d4865f56a5c76124cbf6c1b19c14 /drivers/net/e1000e | |
parent | 29afd690636dab36fe437c54b3a9d5e093bdcd9b (diff) |
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 <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e')
-rw-r--r-- | drivers/net/e1000e/netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
3627 | case SPEED_100: | 3627 | case SPEED_100: |
3628 | txb2b = 0; | 3628 | txb2b = 0; |
3629 | netdev->tx_queue_len = 100; | 3629 | netdev->tx_queue_len = 100; |
3630 | /* maybe add some timeout factor ? */ | 3630 | adapter->tx_timeout_factor = 10; |
3631 | break; | 3631 | break; |
3632 | } | 3632 | } |
3633 | 3633 | ||