aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass2016-01-17 14:52:01 -0700
committerJoe Hershberger2016-01-28 12:32:48 -0600
commitc4998f9634a023d498f647fa0f7fea7b08b22852 (patch)
treeb88a787b79a7b38f5248dacb05ea8a5285f455b3
parentdb9391e165dd0bb94caa246d5ade756b491b09d4 (diff)
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 943de145d29..f03d6083268 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 bdcd6eaafcc..bdcd6eaafcc 100644
--- a/net/eth.c
+++ b/net/eth_legacy.c