diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2015-03-22 17:09:10 -0500 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:12 -0600 |
commit | 05c3e68f8518809616cd4ec5523d3f1e423ee41a (patch) | |
tree | 4d70ec32e316a273db986f8c8caf6a00aea45abb /drivers/net | |
parent | 85848f0377bc9f8703f2b07db51bd1eb88e2b3ba (diff) |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index e69de29bb2..94cf099a67 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -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. |