summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2016-11-18 11:09:15 +0530
committerSimon Glass <sjg@chromium.org>2017-01-09 11:14:54 -0700
commitd4a3755368ca3d99f0a2b58ced8f8ddd42a80822 (patch)
tree8822983f9b1069bb128839b61e10b74e0df62627 /include/net.h
parenta705ebc81b7f91bbd0ef7c634284208342901149 (diff)
downloadu-boot-d4a3755368ca3d99f0a2b58ced8f8ddd42a80822.tar.gz
drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model
Adopt usb ether gadget and rndis driver to adopt driver model Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h
index 06320c6514..1f4d947350 100644
--- a/include/net.h
+++ b/include/net.h
@@ -255,6 +255,13 @@ int eth_setenv_enetaddr_by_index(const char *base_name, int index,
/*
+ * Initialize USB ethernet device with CONFIG_DM_ETH
+ * Returns:
+ * 0 is success, non-zero is error status.
+ */
+int usb_ether_init(void);
+
+/*
* Get the hardware address for an ethernet interface .
* Args:
* base_name - base name for device (normally "eth")