projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29afd69
)
e1000e: add Tx timeout factor for 100Mbps
author
Bruce Allan
<
[email protected]
>
Thu, 19 Nov 2009 12:35:26 +0000
(12:35 +0000)
committer
David S. Miller
<
[email protected]
>
Fri, 20 Nov 2009 21:53:26 +0000
(13:53 -0800)
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 <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/e1000e/netdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/e1000e/netdev.c
b/drivers/net/e1000e/netdev.c
index a1a5a6f15a65b8de274bc31ebb04a2de4b7e1a6d..63458270ce1be9f2ab1073223168c7a43c0c9095 100644
(file)
--- 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;
}