summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2021-01-06 15:16:01 +0100
committerTom Rini <[email protected]>2021-01-19 09:15:02 -0500
commitdd70ff481526a87f69bec732fcc402c60441560c (patch)
tree717ffba117baec63191daa1c875b4ba185ea7e1f /scripts/basic
parentea707dc0aaafad34bba436b206af340c410dfb1b (diff)
net: ks8851: Reset internal RXFC count on bad packet
A sporadic condition occurs when the "bad packet" error is triggered repeatedly, which results in "bad packet" messages scrolling on the console during transfer. To avoid triggering this, reset the internal RXFC count on the first occurance of the "bad packet", which forces the code to re-read the RX packet count from the MAC, and prevents any additional "bad packet" messages if there are no more packets in the MAC. Also print better debug information if this condition occurs. Signed-off-by: Marek Vasut <[email protected]> Cc: Eugen Hristev <[email protected]> Cc: Joe Hershberger <[email protected]> Cc: Tom Rini <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions