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:
c550b12
)
e1000e: 82574/82583 Tx hang workaround
author
Bruce Allan
<
[email protected]
>
Fri, 16 Dec 2011 00:46:22 +0000
(
00:46
+0000)
committer
Jeff Kirsher
<
[email protected]
>
Thu, 26 Jan 2012 07:13:21 +0000
(23:13 -0800)
On 82574/82583, there is a hardware bug which might cause a Tx hang when
the internal buffer is full. Setting this bit enables a hardware fix to
work around the issue.
Signed-off-by: Bruce Allan <
[email protected]
>
Tested-by: Aaron Brown <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/e1000e/82571.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/e1000e/82571.c
b/drivers/net/ethernet/intel/e1000e/82571.c
index a3e65fd26e093c27fff7f00699b9fec292e92abf..0609ac69bb385c891ebab85f59640f156149db0e 100644
(file)
--- a/
drivers/net/ethernet/intel/e1000e/82571.c
+++ b/
drivers/net/ethernet/intel/e1000e/82571.c
@@
-1227,6
+1227,10
@@
static void e1000_initialize_hw_bits_82571(struct e1000_hw *hw)
case e1000_82572:
reg |= (1 << 23) | (1 << 24) | (1 << 25) | (1 << 26);
break;
+ case e1000_82574:
+ case e1000_82583:
+ reg |= (1 << 26);
+ break;
default:
break;
}