net: Rename eth.c to eth_lecacy.c
Rename this file to make it clear it is for the old networking drivers
and not for use with driver model.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
diff --git a/net/Makefile b/net/Makefile
index 943de14..f03d608 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -15,7 +15,7 @@
ifdef CONFIG_DM_ETH
obj-$(CONFIG_CMD_NET) += eth-uclass.o
else
-obj-$(CONFIG_CMD_NET) += eth.o
+obj-$(CONFIG_CMD_NET) += eth_legacy.o
endif
obj-$(CONFIG_CMD_NET) += eth_common.o
obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o
diff --git a/net/eth.c b/net/eth_legacy.c
similarity index 100%
rename from net/eth.c
rename to net/eth_legacy.c