dm: eth: Add basic driver model support to Ethernet stack

First just add support for MAC drivers.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Joe Hershberger
2015-03-22 17:09:10 -05:00
committed by Simon Glass
parent 85848f0377
commit 05c3e68f85
6 changed files with 410 additions and 6 deletions

View File

@@ -0,0 +1,9 @@
config DM_ETH
bool "Enable Driver Model for Ethernet drivers"
depends on DM
help
Enable driver model for Ethernet.
The eth_*() interface will be implemented by the UC_ETH class
This is currently implemented in net/eth.c
Look in include/net.h for details.