]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
net: Rename eth.c to eth_lecacy.c
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 21:52:01 +0000 (14:52 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 28 Jan 2016 18:32:48 +0000 (12:32 -0600)
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>
net/Makefile
net/eth_legacy.c [moved from net/eth.c with 100% similarity]

index 943de145d2920d4aca0ad6958412f1570423ab45..f03d6083268f2b085b9277a72f46685d98c30701 100644 (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
similarity index 100%
rename from net/eth.c
rename to net/eth_legacy.c