]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: macb: Prepare for driver-model conversion
authorSimon Glass <sjg@chromium.org>
Thu, 5 May 2016 13:28:09 +0000 (07:28 -0600)
committerAndreas Bießmann <andreas@biessmann.org>
Sun, 12 Jun 2016 21:49:38 +0000 (23:49 +0200)
commitd5555b70e6cdbce4e1395f40c19a504015f93668
tree08cf50fb9d16d9eb1d0096b6d97659311fc4c50a
parent166c409bc42627d9e19517f6ce121c39d0f52b65
net: macb: Prepare for driver-model conversion

Adjust this driver to avoid using struct netdev in functions that driver
model will call. Also refactor the receive function to be compatible with
driver model.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Tested-on: smartweb, corvus, taurus, axm
Tested-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
drivers/net/macb.c