From: Sascha Hauer Date: Tue, 15 Apr 2008 15:44:39 +0000 (+1000) Subject: [POWERPC] mpc5200: Fix FEC error handling on FIFO errors X-Git-Tag: v2.6.26-rc1~108^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f3ba2dc811228213bcbdc2c8b389a8d6fa66c09;p=pandora-kernel.git [POWERPC] mpc5200: Fix FEC error handling on FIFO errors The error handling for the mpc5200 fec interrupt is broken. The intended behaviour is like this: * If one of FEC_IEVENT_RFIFO_ERROR and FEC_IEVENT_XFIFO_ERROR happens, the datasheet says (MPC5200B User's Guide R1.2, p. 14-13): "When this occurs, software must ensure both the FIFO Controller and BestComm are soft-reset". * On any other error (non-TFINT) interrupt, just issue a debug message. Signed-off-by: Sascha Hauer Signed-off-by: Grant Likely --- Reading git-diff-tree failed