]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - net/eth_internal.h
status_led: Kconfig migration
[people/ms/u-boot.git] / net / eth_internal.h
index 38d84201e6191e0b5102de3af564bdd20d207659..a14b20844f896148be0af43aad950ba36e69ea8e 100644 (file)
@@ -13,7 +13,7 @@
 void eth_common_init(void);
 
 /**
- * eth_setenv_enetaddr_by_index() - set the MAC address envrionment variable
+ * eth_setenv_enetaddr_by_index() - set the MAC address environment variable
  *
  * This sets up an environment variable with the given MAC address (@enetaddr).
  * The environment variable to be set is defined by <@base_name><@index>addr.
@@ -28,4 +28,13 @@ void eth_common_init(void);
 int eth_setenv_enetaddr_by_index(const char *base_name, int index,
                                 uchar *enetaddr);
 
+int eth_mac_skip(int index);
+void eth_current_changed(void);
+#ifdef CONFIG_DM_ETH
+void eth_set_dev(struct udevice *dev);
+#else
+void eth_set_dev(struct eth_device *dev);
+#endif
+void eth_set_current_to_next(void);
+
 #endif