summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2020-03-23 02:02:57 +0100
committermarex <[email protected]>2020-05-01 12:35:21 +0200
commit4332d8061785b697ae7bdf3945adb55ba4da696b (patch)
treee5e11541ea8fe38bce4104fd8671cf311ee074e8 /scripts
parentc2abfca9be3a62a98c1a1b77a11cd01092c0160f (diff)
net: dwc_eth_qos: Fully rewrite RX descriptor field 3
The RX descriptor field 3 should contain only OWN and BUF1V bits before being used for receiving data by the DMA engine. However, right now, if the descriptor was already used for receiving data and is being cleared, the field 3 is only modified and the aforementioned two bits are ORRed into the field. This could lead to a residual dirty bits being left in the field 3 from previous transfer, and it generally does. Fully set the field 3 instead to clear those residual dirty bits. Reviewed-by: Patrick Delaunay <[email protected]> Signed-off-by: Marek Vasut <[email protected]> Cc: Joe Hershberger <[email protected]> Cc: Patrice Chotard <[email protected]> Cc: Patrick Delaunay <[email protected]> Cc: Ramon Fried <[email protected]> Cc: Stephen Warren <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions