commit | f5e7df58e0b96f97e1d8ef49415401a51e9f18b8 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut@gmail.com> | Sun May 17 18:24:23 2020 +0200 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Mon Jun 29 22:36:35 2020 +0200 |
tree | 418a872a4549611d7ec4718b47bf3c264509d701 | |
parent | 6d76c9f1e6df5338aeaa8699e16ea3bb755f858d [diff] |
net: pcnet: Split common and non-DM functions Pull the common parts of functions out so they can be reused by both DM and non-DM code paths. The recv() function had to be reworked to fit into this scheme and this means it now only receives one packet at a time instead of spinning in an endless loop. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com>