commit | 0bc035f743d5c3058e10def7739dea89488749b1 | [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 | c48ad6f478262122cd213a9a8c2c2b138d548065 [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>