gianfar: fix babbling rx error event bug
authorXiaotian Feng <xiaotian.feng@windriver.com>
Wed, 27 May 2009 03:48:04 +0000 (20:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2009 03:48:04 +0000 (20:48 -0700)
commit18a36c1a398055e87a3646738abf3c1b0e98e7e2
tree7b396f3a9f05196808e420bf793c57da40274d47
parente65fcfd63a9a62baa5708484ff8edbe56eb3e7ec
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: Xiaotian Feng <xiaotian.feng@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.h