diff options
author | Fugang Duan <B38611@freescale.com> | 2014-02-21 09:45:20 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 08:57:35 -0500 |
commit | d472828dac9afbe09139a8a9aa0805719bec3e89 (patch) | |
tree | a01b0e5b6a5178490f9c868d1616caf023ca50ce /fs/buffer.c | |
parent | fcc6fc800470df5651b5339c2521340fbc039860 (diff) |
net: fec: fix potential issue to avoid fec interrupt lost and crc error
The current flow: Set TX BD ready, and then set "INT" and "PINS" bit to
enable tx interrupt generation and crc checksum.
There has potential issue like as:
CPU fec uDMA
Set tx ready bit
uDMA start the BD transmission
Set "INT" bit
Set "PINS" bit
...
Above situation cause fec tx interrupt lost and fec MAC don't do
CRC checksum. The patch fix the potential issue.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Acked-by: Frank Li <Frank.li@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions