]> git.dujemihanovic.xyz Git - u-boot.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)
commitbc4666acf3b49a9feb36c580703102d228545955
tree71cb2024ddf7ae997266f41d5ca0d0c29ebd0299
parent05c4917958dbcb8b2c3e176e324c4482175d941e
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