Skip to content
Commit 18a36c1a authored by Xiaotian Feng's avatar Xiaotian Feng Committed by David S. Miller
Browse files

gianfar: fix babbling rx error event bug



Gianfar interrupt handler uses IEVENT_ERR_MASK to check and handle errors.
Babbling RX error (IEVENT_BABR) should be included in IEVENT_ERROR_MASK.
Otherwise if BABR is raised, it never gets handled nor cleared, and an
interrupt storm results. This has been observed to happen on sending a
burst of ethernet frames to a gianfar based board.

Signed-off-by: default avatarXiaotian Feng <xiaotian.feng@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e65fcfd6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment