diff options
author | Jongsung Kim <neidhard.kim@lge.com> | 2019-12-06 12:40:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-06 20:50:36 +0100 |
commit | f421031e3ff0dd288a6e1bbde9aa41a25bb814e6 (patch) | |
tree | 59ddd430a787a6a88bb7c4f9876f5cf8eb57ec1c /drivers/pinctrl | |
parent | enetc: disable EEE autoneg by default (diff) | |
download | linux-f421031e3ff0dd288a6e1bbde9aa41a25bb814e6.tar.xz linux-f421031e3ff0dd288a6e1bbde9aa41a25bb814e6.zip |
net: stmmac: reset Tx desc base address before restarting Tx
Refer to the databook of DesignWare Cores Ethernet MAC Universal:
6.2.1.5 Register 4 (Transmit Descriptor List Address Register
If this register is not changed when the ST bit is set to 0, then
the DMA takes the descriptor address where it was stopped earlier.
The stmmac_tx_err() does zero indices to Tx descriptors, but does
not reset HW current Tx descriptor address. To fix inconsistency,
the base address of the Tx descriptors should be rewritten before
restarting Tx.
Signed-off-by: Jongsung Kim <neidhard.kim@lge.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions