#include <common.h>
#include <command.h>
-#include <environment.h>
+#include <env.h>
#include <net.h>
#include <phy.h>
#include <linux/errno.h>
return num_devices;
}
-#ifdef CONFIG_MCAST_TFTP
/* Multicast.
* mcast_addr: multicast ipaddr from which multicast Mac is made
* join: 1=join, 0=leave.
return eth_current->mcast(eth_current, mcast_mac, join);
}
-#endif
-
-
int eth_init(void)
{
struct eth_device *old_current;