summaryrefslogtreecommitdiff
path: root/configs/Mini-X_defconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-19 09:33:39 -0600
committerJoe Hershberger <joe.hershberger@ni.com>2015-08-21 16:32:55 -0500
commit5c5e707a551458d3602d684ead28a97f18a4644f (patch)
tree860564d2c20cb6925ab4eeb2af3185e6a27c7125 /configs/Mini-X_defconfig
parentc752cd2a30517c3a8c0742d807ce5053b747baa8 (diff)
net: e1000: Prepare for driver model conversion
Since struct eth_device does not exist with CONFIG_DM_ETH defined, avoid using it in the driver unless necessary. Most of the time it is better to pass the private driver pointer anyway. Also refactor the code so that code that the driver model implementation will share are available in functions that can be called. Add stubs where necessary. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Apalis T30 2GB on Apalis Evaluation Board
Diffstat (limited to 'configs/Mini-X_defconfig')
0 files changed, 0 insertions, 0 deletions