]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: sh_eth: Split sh_eth_recv
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 21 Jan 2018 14:39:50 +0000 (15:39 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 27 Jan 2018 19:38:53 +0000 (20:38 +0100)
commit52c15e220bc28eda298d899f552bc023131de7f3
tree1fa80d481d3ba95c4f216adb71e48a059a8a4cff
parentdca221bd92cf3befa387a711a2256f1e4e06e51e
net: sh_eth: Split sh_eth_recv

Split sh_eth_recv into two functions, one which checks whether
a packet was received and one which handles the received packet.
This is done in preparation for DM support, which handles these
two parts separately.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/sh_eth.c