commit | 8207c544a46920a4817a58606863be6a432507bb | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Sun Mar 22 17:09:12 2015 -0500 |
committer | Simon Glass <sjg@chromium.org> | Sat Apr 18 11:11:12 2015 -0600 |
tree | 3fbe0d78285e324191251d90bd551cdef0435cb8 | |
parent | f77abc5792bb3790090c65c610b94b2c91f10af9 [diff] |
dm: eth: Pass the packet pointer as a parameter to recv Stop forcing drivers to call net_process_received_packet() - formerly called NetReceive(). Now the uclass will handle calling the driver for each packet until the driver errors or has nothing to return. The uclass will then pass the good packets off to the network stack by calling net_process_received_packet(). Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>