forked from Xilinx/linux-xlnx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: macb: Apply RXUBR workaround only to versions with errata
The interrupt handler contains a workaround for RX hang applicable to Zynq and AT91 only. Subsequent versions do not need this workaround. Hence introduce an errata field and a check to enable this workaround only for Zynq (Can add further non-Xilinx devices after checking with mainline). A customer reported an issue when using this workaround on ZynqMP. RX used bit read (RXUBR) is observed whenever there's no free BDs. But if driver resets RX whenever this occurs, when the DMA clearly does not hang, there is a minute possibility that one of the RX BDs is skipped. Signed-off-by: Harini Katakam <[email protected]> Signed-off-by: Michal Simek <[email protected]>
- Loading branch information
1 parent
3248097
commit acbe29b
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters