summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-17 21:52:01 (GMT)
committerJoe Hershberger <joe.hershberger@ni.com>2016-01-28 18:32:48 (GMT)
commitc4998f9634a023d498f647fa0f7fea7b08b22852 (patch)
treeb88a787b79a7b38f5248dacb05ea8a5285f455b3
parentdb9391e165dd0bb94caa246d5ade756b491b09d4 (diff)
downloadu-boot-fsl-qoriq-c4998f9634a023d498f647fa0f7fea7b08b22852.tar.xz
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>
-rw-r--r--net/Makefile2
-rw-r--r--net/eth_legacy.c (renamed from net/eth.c)0
2 files changed, 1 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile
index 943de14..f03d608 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -15,7 +15,7 @@ obj-$(CONFIG_CMD_DNS) += dns.o
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
index bdcd6ea..bdcd6ea 100644
--- a/net/eth.c
+++ b/net/eth_legacy.c