]> git.baikalelectronics.ru Git - uboot.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)
commitab233aa7cf8cde64671a8bb9cf965162f88dae21
tree1fa80d481d3ba95c4f216adb71e48a059a8a4cff
parent77fbec9691475fd73cfc0750e9da924f2610c9bd
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