]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
pcnet: enable the NOUFLO feature
authorPaul Burton <paul.burton@imgtec.com>
Fri, 8 Nov 2013 11:18:46 +0000 (11:18 +0000)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 9 Nov 2013 16:21:01 +0000 (17:21 +0100)
commit62715a2c57c01630af8198ed108874def5a99cf7
tree1aa7ed2d1a1a4a4f54c1351fd6da9d43602f7854
parentf3ac866c78f7f0d91eb345967350830d46c3a563
pcnet: enable the NOUFLO feature

On relatively slow boards (such as the MIPS Malta with an FPGA core
card) it can be extremely common for transmits to underflow - to the
point where it appears they simply do not work at all. Setting the
NOUFLO bit causes the ethernet controller to not begin transmission on
the wire until a transmit start point is reached. Setting that transmit
start point to the full packet will cause the controller to only
transmit the packet once it has buffered it entirely thus preventing any
transmit underflows from occuring and allowing the controller to
function on slower boards.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
drivers/net/pcnet.c