]> git.sur5r.net Git - u-boot/commit
qoriq eth.c bugfix: handle received corrupted frames correctly
authorDaniel Inderbitzin <daniel.inderbitzin@crypto.ch>
Fri, 10 Jul 2015 12:06:02 +0000 (14:06 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 11 Aug 2015 18:46:16 +0000 (13:46 -0500)
commit466f775e02bcde5ea7454cd73ecf1a0f79275a30
tree45b096158fe52c1f0031b9723fed5480845daca7
parent1a791892dcb5904c8b208535704714b07802e0b8
qoriq eth.c bugfix: handle received corrupted frames correctly

The rxbd is not correctly handled in case of a frame physical error
(FPE) or frame size error (FSE). The rxbd must be cleared and
advanced in case of an error to avoid receive stall.

Signed-off-by: Daniel Inderbitzin <daniel.inderbitzin@gmail.com>
drivers/net/fm/eth.c