#
56841b5c |
|
23-Nov-2020 |
Damon Lee <Damon.Lee@data61.csiro.au> |
libethdrivers,zynq: Fix more issues in driver This commit includes a number of fixes to the Ethernet driver: - Set the TX descriptor once and only once. The descriptor only needs to be set once and the DMA controller is able to keep track of where it is in the ring. - Set the 'wrap' bit in the beginning for the descriptors. - Check 'used' bit in the first descriptor in complete_(tx/rx). Only the first descriptor has the bit set when the Ethernet device is done with the descriptor chain. - Fix typo in descriptor size assignment.
|