dm: usb: eth: Add driver-model support to the asix driver
authorSimon Glass <sjg@chromium.org>
Mon, 6 Jul 2015 22:47:54 +0000 (16:47 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:41 +0000 (17:39 -0600)
commitfbc4b8af469459425de72530dbded0ddbe157004
treeb7313ec7abd0974f8f6e507326bf4f5d2c987385
parent2b53b078d786a3e0485dd9a85949d49501137a23
dm: usb: eth: Add driver-model support to the asix driver

This USB Ethernet driver is quite widely use. Allow it to work with
CONFIG_DM_ETH enabled. Most of the code remains common but there is a new
packet receive flow which is handled specially.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/eth/asix.c