summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-01-10 08:19:33 -0500
committerTom Rini <trini@konsulko.com>2017-01-10 08:19:33 -0500
commit04770e6e917b0f766a9496e3f37bcdf2ebb1beb4 (patch)
treefeb9550344f45c1c344fdd3a067de0ba28403991 /include/net.h
parent86f21c96f46736825d8a9269dfbe31ef7991a7e6 (diff)
parentf8f41ae668040d58271e03bc85b58e13becb14af (diff)
Merge git://git.denx.de/u-boot-dm
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 06320c6514c..1f4d9473500 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")