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:
50d6ec5
)
sfc: Disable TX descriptor prefetch watchdog
author
Ben Hutchings
<
[email protected]
>
Wed, 23 Dec 2009 13:49:13 +0000
(13:49 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 24 Dec 2009 03:09:08 +0000
(19:09 -0800)
This hardware watchdog can misfire, so it does more harm than good.
Signed-off-by: Ben Hutchings <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/sfc/nic.c
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/nic.c
b/drivers/net/sfc/nic.c
index a577be2278621cd7281ae50b668abe5c860f1cfa..db44224ed2cad53789f7d5410db1a7988f34bca1 100644
(file)
--- a/
drivers/net/sfc/nic.c
+++ b/
drivers/net/sfc/nic.c
@@
-1576,6
+1576,8
@@
void efx_nic_init_common(struct efx_nic *efx)
EFX_SET_OWORD_FIELD(temp, FRF_AZ_TX_SOFT_EVT_EN, 1);
/* Prefetch threshold 2 => fetch when descriptor cache half empty */
EFX_SET_OWORD_FIELD(temp, FRF_AZ_TX_PREF_THRESHOLD, 2);
+ /* Disable hardware watchdog which can misfire */
+ EFX_SET_OWORD_FIELD(temp, FRF_AZ_TX_PREF_WD_TMR, 0x3fffff);
/* Squash TX of packets of 16 bytes or less */
if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0)
EFX_SET_OWORD_FIELD(temp, FRF_BZ_TX_FLUSH_MIN_LEN_EN, 1);