diff mbox

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

Message ID 1453067522-610-8-git-send-email-sjg@chromium.org
State Accepted
Commit c4998f9634a023d498f647fa0f7fea7b08b22852
Delegated to: Joe Hershberger
Headers show

Commit Message

Simon Glass Jan. 17, 2016, 9:52 p.m. UTC
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>
---

 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%)

Comments

Bin Meng Jan. 18, 2016, 4:41 a.m. UTC | #1
On Mon, Jan 18, 2016 at 5:52 AM, Simon Glass <sjg@chromium.org> wrote:
> 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>
> ---
>
>  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%)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Joe Hershberger Jan. 22, 2016, 10:41 p.m. UTC | #2
On Sun, Jan 17, 2016 at 3:52 PM, Simon Glass <sjg@chromium.org> wrote:
> 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>

Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger Jan. 29, 2016, 9:27 p.m. UTC | #3
Hi Simon,

https://patchwork.ozlabs.org/patch/569319/ was applied to u-boot-net.git.

Thanks!
-Joe
diff mbox

Patch

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