[U-Boot] [PATCH 7/8] net: Rename eth.c to eth_lecacy.c

Simon Glass sjg at chromium.org
Sun Jan 17 22:52:01 CET 2016


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 at chromium.org>
---

 net/Makefile                | 2 +-
 net/{eth.c => eth_legacy.c} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename net/{eth.c => eth_legacy.c} (100%)

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
similarity index 100%
rename from net/eth.c
rename to net/eth_legacy.c
-- 
2.6.0.rc2.230.g3dd15c0



More information about the U-Boot mailing list