commit | 9c9f3fc162ecbe1295ddf249e288a5a4739f5e07 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Wed Mar 25 18:47:10 2020 +0100 |
committer | Marek Vasut <marex@denx.de> | Fri May 22 19:46:45 2020 +0200 |
tree | 8f6838c4cf90aa5ac9be2dfc0395bb5eed0c767e | |
parent | f725912624878faf7c552dd686425e0e14e75a8b [diff] |
net: ks8851: Receive one packet per recv call Instead of reading out the entire FIFO and possibly overwriting U-Boot memory, read out one packet per recv call, pass it to U-Boot network stack, and repeat. It is however necessary to cache RXFC value, because reading that one out clears it. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Eugen Hristev <eugen.hristev@microchip.com> Cc: Joe Hershberger <joe.hershberger@ni.com>