From: Markos Chandras Date: Thu, 19 Mar 2015 10:28:14 +0000 (+0000) Subject: net: ethernet: pcnet32: Setup the SRAM and NOUFLO on Am79C97{3, 5} X-Git-Tag: omap-for-v4.1/fixes-rc1~278^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87f966d97b89774162df04d2106c6350c8fe4cb3;p=pandora-kernel.git net: ethernet: pcnet32: Setup the SRAM and NOUFLO on Am79C97{3, 5} On a MIPS Malta board, tons of fifo underflow errors have been observed when using u-boot as bootloader instead of YAMON. The reason for that is that YAMON used to set the pcnet device to SRAM mode but u-boot does not. As a result, the default Tx threshold (64 bytes) is now too small to keep the fifo relatively used and it can result to Tx fifo underflow errors. As a result of which, it's best to setup the SRAM on supported controllers so we can always use the NOUFLO bit. Cc: Cc: Cc: Cc: Don Fry Signed-off-by: Markos Chandras Signed-off-by: David S. Miller --- Reading git-diff-tree failed