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>
This commit is contained in:
Simon Glass 2016-01-17 14:52:01 -07:00 committed by Joe Hershberger
parent db9391e165
commit c4998f9634
2 changed files with 1 additions and 1 deletions

View file

@ -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