]> git.baikalelectronics.ru Git - uboot.git/commit
net: dc2114x: Split common parts of non-DM functions out
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 8 Jul 2020 05:20:14 +0000 (07:20 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 25 Jul 2020 09:24:02 +0000 (11:24 +0200)
commitdf435583d103953ff36769f0c00381629b751359
tree71cb2024ddf7ae997266f41d5ca0d0c29ebd0299
parente4671f6a713f42b774b6dc81ee68848a431b114d
net: dc2114x: Split common parts of non-DM functions out

Split the common code from the non-DM code, so it can be reused by
the DM code later. As always, the recv() function had to be split
into the actual receiving part and free_pkt part to fit with the
DM.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
drivers/net/dc2114x.c