GRETH: handle frame error interrupts
authorDaniel Hellstrom <daniel@gaisler.com>
Fri, 14 Jan 2011 03:02:42 +0000 (03:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jan 2011 20:45:54 +0000 (12:45 -0800)
commit1ca23434dd0001bd2bfff31b8251436b34aa9066
treeaa6696927db181540cfd9ec551e54d18dfc60e4a
parent2436af8ca7a6c4679cf7da7e3867f1d5cd8528b7
GRETH: handle frame error interrupts

Frame error interrupts must also be handled since the RX flag only indicates
successful reception, it is unlikely but the old code may lead to dead lock
if 128 error frames are recieved in a row.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/greth.c
drivers/net/greth.h